I have some difficulties with the method InvokeScript
on wp7:
webBrowser1.InvokeScript("eval", string.Format("document.getElementsByName('email').value='{0}'", _email));
webBrowser1.InvokeScript("eval", string.Format("document.getElementsByName('pass').value='{0}'", _pass));
webBrowser1.InvokeScript("eval", "document.forms[0].submit();");
Unfortunately, when I try to submit information, using (document.forms[0].submit())
, an exception is thrown with the message:
An unknown error has occurred. Error: 80020101.
What may the problem be?