I tried this small test and it does not seem to work.
<%
dim asptemp
asptemp = "hello"
%>
<script language="Javascript">
var jstemp;
jstemp = '<%=asptemp%>';
alert(jstemp);
</script>
If I have a main window opened and the user opens a second window how do I not allow the user to click on the first window until the second window has been closed.
I have an ASP function that is returning me a error message.
I would like to pass the error message to javascript "alert".
Can you call a javascript from an ASP function if so how.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.