Displays a dialog box containing an application-defined message.
Syntax
window.alert( [sMessage])
Parameters
sMessage |
Optional.
String that specifies the message to display in the dialog box. |
Return Value
No return value.
Remarks
You cannot change the title bar of the Alert dialog box.
Standards Information
There is no public standard that applies to this method.
Applies To
See Also
confirm, prompt