I have a simple Win8 Metro app which has three pages, one of which is WebView.
Let’s say that I have some html code that I’m showing in WebView that contains something like
<a href="http://www.mysite.com">Go to site</a>
How can I detect click on that HTML element, recognize element and get data (let’s say “http://www.mysite.com“) from the element?
Is that even possible in Metro apps?
Thanks in advance.
Use these members:
LoadCompleted – to wait until your page is loaded,
InvokeScript – to subscribe to an event inside HTML,
ScriptNotify – to be notified from JS.