Kor thanks for your reply,.
now i can call 3 time to test() fun.
code sample is as follows,
have u any hleps
thanks in advance.
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click
For i = 1 To 3
Body1.Attributes.Add("onload", Body1.Attributes.Item("onload") & "test();")
alert("called from vb");
MsgBox("called finish" & i & "times to test fun")