Mozilla's getting a new look. What do you think? https://mzl.la/brandsurvey

Summary

The alert function displays a modal dialog box with a message representing the input.

Method of

Install object

Syntax

void alert ( String message );

Parameters

The message parameter is displayed as a string in the dialog box. If message is not a string, then it is converted into one and displayed.

Returns

Nothing.

Document Tags and Contributors

 Contributors to this page: Sheppy, ethertank, trevorh, Fredchat, Rod Whiteley
 Last updated by: Sheppy,