Dialogs.confirm
Dialogs.prompt
FUNCTION: Dialogs.alert
Dialogs.alert
(message)
The
Dialogs.alert
function displays a message that provides useful information to the user. This function requires an acknowledgement from the user. When the response occurs, an empty string "" is returned.
The mandatory
message
parameter is a string or text that contains the message you wish displayed.
Code for AlertExample.wml
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.WAPforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1">
<p>
alert example
</p>
<do type="accept">
<go href="AlertExample.wmls#displayalert()" />
</do>
</card>
</wml>
Code for AlertExample.wmls
extern function displayalert()
{
Dialogs.alert("Hello wireless world!")
;
};
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information