Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Expertise: Intermediate
Jan 20, 2000



Application Security Testing: An Integral Part of DevOps

How to Pop Up Message Boxes with ASP Code

It's helpful during debugging to be able to print out values as the page is executing. Although this is generally done using Response.Write statements, it can also be done with client-side JavaScript. This code can be used to pop up a message box with ASP code, because message boxes themselves are not supported in ASP (server-side code execution). Remember to remove this code segment from the production code; use this only for debugging purposes.


' ASP code 
<SCRIPT LANGUAGE="Javascript">
alert("<%  = strMessageToShow %>")
' rest of ASP code  
Jai Bardhan
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.
Thanks for your registration, follow us on our social networks to keep up-to-date