O'Reilly logo

Learning WML, and WMLScript by Martin Frost

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

alert — Display a warning message to the user

Usage

Dialogs.alert(msg)

msg : String

Description

Displays message msg to the user and waits for an acknowledgement.

Returns the empty string; returns invalid if msg can’t be converted to a string.

Examples

Dialogs.alert("Catastrophic reality failure!")
Dialogs.alert("You really didn't want to do that")
Dialogs.alert("Badness!")

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required