WebBrowser组件跟MSHTML 在Delphi中的使用

WebBrowser组件和MSHTML 在Delphi中的使用WebBrowser1.OleObject. Document.parentWindow.execScript(Say

WebBrowser组件和MSHTML 在Delphi中的使用

WebBrowser1.OleObject. Document.parentWindow.execScript('SayHello()', 'javascript'); //or (WebBrowser1.Document as IHTMLDocument2 ).parentWindow.execScript('SayHello()', 'javascript') //or webrowser1.document.script.SayHello();