From http://www.w3schools.com (Copyright Refsnes Data)

WMLScript alert() Function


WMLScript Dialogs Library Complete WMLScript Dialogs Library

The alert() function displays a message, waits for a confirmation, and then returns an empty string.

Syntax

n = Dialogs.alert(message)

Part Description
n The empty string returned from the function
message A string containing the message

Example

var a = Dialogs.alert("The value must be numeric!");

Result

a = ""


WMLScript Dialogs Library Complete WMLScript Dialogs Library

From http://www.w3schools.com (Copyright Refsnes Data)