how to Calling JavaScript in a WebBrowser control from C# in such a situation
- by weahappy
sorry, my poor English,my question is as following:
Calling JavaScript in a WebBrowser control from C# in ordinary way:
JavaScript
function showMe()
{
...
}
C#
webBrowser1.Document.InvokeScript("showMe");
that is ok!
but how to call in such situation:
html:
<a href="javascript:void(0);" onclick="App.followcancel('1880161672',this,'0','A','B');return false;">hello</a>
c#:
webBrowser1.Document.InvokeScript(????????)
I don't know how to write the correct paremeter to achieve the onclick's javascript
anyone help me,thanks a lot