i want to call java function 3 times from vb sub.
but i worked one time.
is there anyone help me
here i try the following but
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click
For i = 1 To 3
Dim test1 As String
test1 = "<script language='javascript' id='myClientScript'>test();</script>"
Page.RegisterStartupScript("callTest", test1)
End Sub
function test()
alert("called from vb");