G
Guest
hey all,
i have the following client-side functions:
<script language=javascript>
function test(){
window.setInterval("sndmsg",10000)
}
function sndmsg(){
alert("HelloWorld!!")
}
</script>
Here's my server-side script:
Private Sub Page_Load(...)
Me.Button1.Attributes.Add("onclick", "javascript:test();")
End Sub
What i thought is should do is send an alert every 10 seconds. Please advise.
thanks,
rodchar
i have the following client-side functions:
<script language=javascript>
function test(){
window.setInterval("sndmsg",10000)
}
function sndmsg(){
alert("HelloWorld!!")
}
</script>
Here's my server-side script:
Private Sub Page_Load(...)
Me.Button1.Attributes.Add("onclick", "javascript:test();")
End Sub
What i thought is should do is send an alert every 10 seconds. Please advise.
thanks,
rodchar