C
Craig G
hi,
im only learning javascript, i have this little code snippet that i wish to
use. basically the code-behind page will display a little jscript confirm
message box
Public Sub ASPNET_MsgBox(ByVal Message As String)
System.Web.HttpContext.Current.Response.Write("<SCRIPT
LANGUAGE=""JavaScript"">" & vbCrLf)
System.Web.HttpContext.Current.Response.Write("confirm(""" & Message & """)"
& vbCrLf)
System.Web.HttpContext.Current.Response.Write("</SCRIPT>")
End Sub
what i was wanting to know. is what do i have to do in the HTML in order to
tell which button they click (OK/Cancel) on the confirm message box, so that
i can then call the correct function in my codebehind page.
Cheers,
Craig
im only learning javascript, i have this little code snippet that i wish to
use. basically the code-behind page will display a little jscript confirm
message box
Public Sub ASPNET_MsgBox(ByVal Message As String)
System.Web.HttpContext.Current.Response.Write("<SCRIPT
LANGUAGE=""JavaScript"">" & vbCrLf)
System.Web.HttpContext.Current.Response.Write("confirm(""" & Message & """)"
& vbCrLf)
System.Web.HttpContext.Current.Response.Write("</SCRIPT>")
End Sub
what i was wanting to know. is what do i have to do in the HTML in order to
tell which button they click (OK/Cancel) on the confirm message box, so that
i can then call the correct function in my codebehind page.
Cheers,
Craig