摘要: 一、调用javascript的方法 两种: 第一种:采用自编函数的方法 function ExecuteJavaScript(WebBrowser:TWebBrowser; Code: string):Variant;var //发送脚本 Document:IHTMLDocument2; Window:IHTMLWindow2;begin // execute javascript in webbrowser Document:=WebBrowser.Document as IHTMLDocument2; if not Assigned(Document) then Exi... 阅读全文
posted @ 2014-03-07 11:49 happyhills 阅读(3468) 评论(0) 推荐(0) 编辑