我用webBrowser1控件加载一个网页
然后 这个网页会加载一些js文件,比如a.js b.js
我怎么webBrowser1的webBrowser1_DocumentCompleted 里面怎么调用a.js里面的一个js函数test()?我使用的是webBrowser1.Document.InvokeScript("test()")但是不管用
然后 这个网页会加载一些js文件,比如a.js b.js
我怎么webBrowser1的webBrowser1_DocumentCompleted 里面怎么调用a.js里面的一个js函数test()?我使用的是webBrowser1.Document.InvokeScript("test()")但是不管用
Calling JavaScript functions in the Web Browser Control
http://west-wind.com/weblog/posts/493536.aspx