Please enable JavaScript to view this site.

Altova Authentic 2020 Desktop

Displays a message box that shows a given message and the "OK" button. To proceed, the user will have to click "OK".

scr_cmd_alert

 

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");

© 2019 Altova GmbH