110,539
社区成员
发帖
与我相关
我的任务
分享
HtmlElement he = this.webBrowser1.Document.CreateElement("script");
he.SetAttribute("type","text/javascript");
he.SetAttribute("text","alert('test');");
this.webBrowser1.Document.Body.AppendChild(he);//add element