webBrowser1执行函数

IHTMLWindow2 Win = (IHTMLWindow2)webBrowser1.Document.Window.DomWindow;
string s = "alert('x');";
Win.exeScript(s,"javascript");

posted @ 2013-12-11 16:12  continue;  阅读(170)  评论(2编辑  收藏  举报