Altova StyleVision 2023 Enterprise Edition

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

© 2017-2023 Altova GmbH