Help With, "InvokeScript"
Hi, :wave:
Im Having An Issue With The Following Code:
Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If txtfunction.Text <> Nothing And Form1.WebBrowser1.Document.InvokeScript(txtfunction.Text) <> vbNull Then
Form1.WebBrowser1.Document.InvokeScript(txtfunction.Text)
End If
End Sub
Issue:
It Doesn't Invoke The Text/Function In txtfunction.Text.
What Its Supposed To Do:
When you click button1, if txtfunction.Text is not nothing, then invokescript function name from txtfunction.Text
Anyone know where the error is? :ehh: