November 12, 1999 - Alert Dialog Boxes
November 12, 1999|
Alert Dialog Boxes
Tips: November 1999
Yehuda Shiran, Ph.D.
alert()method accepts a string specifying the message to display:
alert("Click OK to continue..."); var message = "Click OK to continue..."; alert(message);
In fact, the single parameter to the
alert() method in your script.
Alert dialog boxes are often very annoying, because they disrupt the flow of a user's navigation around your pages. It is better to communicate with users via forms or by writing to seperate windows.