i am Writing a simple code to add 2 no. I declare the variable in java script and give argument from vb. in Script part
enter code here
function javascriptFunction() {
var x;
var y;
var z = x + y;
alert(z);
and in Vb part i write
enter code here
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Me.WebBrowser1.Document.InvokeScript("javascriptFunction", _
New String() {"2", "3"})
End Sub
i am new In javascript.So plz any suggestion