The practice is to write your ASP(or vbscript) to include the proper message in your javascript app.
The server then will in theory :
1: select the correct alert() message
2: compile creating the alert(message) statement in the proper formatting
3: All HTML and JavaScript is them passed to the users browser for processing and alert. [sig][/sig]
Your example worked for me (it should work for you). Did you execute the .asp via a http call or simply try to double click on the asp file (that won't work)
Later, [sig]<p>Rob<br><a href=mailto:robschultz@yahoo.com>robschultz@yahoo.com</a><br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
"Focus on the solution to the problem,<br>
not the obstacles in the way."<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[/sig]
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.