Quick References
ADO
ASP
CSS2
HTML
JavaScript
Jet SQL
VBScript
WML
WMLScript
WSH
XHTML
XML DOM
XSLT
Features
Knowledge Base
Tutorials
Partners
ZVON.ORG
XML
Planet Source Code
VisualBuilder
Web Design
Your HTML Source
XML/XSLT Forums
ASPAlliance
Scripts
Programmers Heaven
Tek-Tips Forums
Developer Fusion
Code Project
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-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information