WMLScript » Functions » Dialogs

The Dialogs Library consists of three functions that provide user interface by displaying messages and prompts. The user must respond to the displayed message or prompt in order for the program to continue to execute.

The library and function names are case sensitive.


Syntax: Dialogs.alert(message)

Displays a message, called an alert, that the user must acknowledge.


Syntax: Dialogs.confirm(message, okmessage, cancelmessage)

Displays a message, called a confirmation, that requires the user to make a choice.


Syntax: Dialogs.prompt(message, defaultinput)

Displays a message, called a prompt, that requires the user to input a value.

See Also: