alert
The alert function displays a modal dialog box with a message representing the input.
Method of
Syntax
void alert ( String message );Parameters
Though it's most common to input a string for display in an alert dialog, the single input parameter for
alert()can be a value of any data type. You can, for example, input an object reference and see that object displayed as a string in the alert dialog.Returns
| Netscape Communications devedge.netscape.com |