Hi
I have a problem with HybridWebView.InjectJavascript.
It makes functions and do everything except dispatchEvent:
hybridWebView.InjectJavaScript("function fff(){" +
"l=document.getElementById('slideproducts');" +
"e=document.createEvent('HTMLEvents');" +
"e.initEvent('click',true,true);" +
"l.dispatchEvent(e);"+
"}");
I tested javascript line by line and i got this on last line:
A first chance exception of type 'System.SystemException' occurred in Microsoft.Phone.Interop.ni.dll
in output.