alert

alert ( string _message , string _title ) : void

Display a message box. It stops the script until you press OK.

Example


alert("Alert!", "Alert Box")

See also

confirm
prompt

Parameters

_message (optional)

Message to display. By default, shows "PAUSE"

_title (optional)

Title of the box