|
Newsletters
|
|
|
|
|
WMLScript Reference
WMLScript Reference
WMLScript > Dialogs > confirm()
confirm() - The confirm Function
Usage: confirm(message, ok, cancel)
Description: Displays the given message and two reply alternatives: ok and cancel. Waits for the user to select one of the reply alternatives and returns true for ok and false for cancel.
Example:function onAbort() {
return Dialogs.confirm("Are you sure?", "Yes", "Well...");
};
Bookmark this page
|
|