Private Sub Command1_Click()
strExeFunc = "javascript:alert(""asd"")"
WebBrowser1.Document.parentWindow.execScript strExeFunc, "JavaScript"
End Sub
Private Sub Form_Load()
WebBrowser1.Navigate "about:blank"
End Sub
===========================================
不知道lz,想要的是不是这个?