WMLScript alert() Function
The alert() function displays a message, waits for confirmation, and then returns an empty string.
Syntax
n = Dialogs.alert(message)
Component | Description |
---|---|
n | The empty string returned by the function. |
message | String containing message. |
Example
var a = Dialogs.alert("The value must be numeric!");
Result
a = ""