mxweb
08-25-2003, 12:12 PM
Hi, what I'm looking for is a way to call a VB function containing a msgbox from a Javascript function.
I'm using ASP.
:confused:
I'm using ASP.
:confused:
|
Click to See Complete Forum and Search --> : How to call a VB function from a Javascript function mxweb 08-25-2003, 12:12 PM Hi, what I'm looking for is a way to call a VB function containing a msgbox from a Javascript function. I'm using ASP. :confused: rav 08-25-2003, 12:31 PM It's not exactly possible. See.. the ASP code is processed on the server side.. so it comes to the client already coded into the HTML.. My recomendation? do something Like this: <% set message= "This is the message to show" if showMSG = TRUE then %> <script language=javascript> alert("<%=message%>"); </script> <% end if %> webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |