alert
Displays a message box that shows a given message and the "OK" button. To proceed, the user will have to click "OK".
Signature
For JScript, the signature is:
alert(strMessage : String) -> void |
For VBScript, the signature is:
MsgBox(strMessage : String) -> void |
Example
The following JScript code displays a message box with the text "Hello World".
alert("Hello World"); |