Webview Get element from click?

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • I am trying to find a way to or workaround of passing information from html elements inside webview to MMF.

    As an example, If i load a html page into webview with is a simple image. I want to be able to click on that image and get the image URL for instance.

    The viewport has a "clicked on" event, but the only expression I can see is "get clicked link".

    Or even, get the element ID of the clicked element?

    Any thoughts?

    Andy

    Parafly Paragliding Simulator Please login to see this link.

  • You want the web control object for this. Web view is literally incorporating a simple browser to navigate. If you want more toys then use the Web control Object or the help refers to it as Web Object.

    Regards

    Ross

    Please login to see this link.

  • It's not an option unless you click a hyperlink item or as the help says "Did the user click in an HiperLink" Does anyone proof read these?
    Sorry it's only for basic navigating. Not sure if the CURL object can help which I don't know if it is built for IOS but it is for Android then you would get the html back and parse the raw HTML.

    Regards

    Ross

    Please login to see this link.

  • you need to make script all these in HTML and add the onclick feature from IMAGE once doing that in the onclick method you save the info to specific string and then read from exression string evaluate that string and it will bring it to MMF

    Regards,


    Fernando Vivolo

    ... new things are coming ...

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!