w3schools    w3Schools
Search :
   
HOME HTML CSS XML JAVASCRIPT ASP PHP SQL MORE...   References Examples Forum About
ADVERTISEMENTS

XML Certification
Download XML editor
Custom Programming
 
Table of contents
WMLScript Tutorial
WMLScript HOME
WMLScript Intro
WMLScript How to

WML Libraries
WML Dialogs
WML Float
WML Lang
WML String
WML URL
WML Browser

Selected Reading
Web Statistics
Web Glossary
Web Hosting
Web Quality

Browse Tutorials
 

WMLScript alert() Function


WMLScript Dialogs Library Complete WMLScript Dialogs Library

The alert() function displays a message, waits for a confirmation, and then returns an empty string.

Syntax

n = Dialogs.alert(message)

Part Description
n The empty string returned from the function
message A string containing the message

Example

var a = Dialogs.alert("The value must be numeric!");

Result

a = ""


WMLScript Dialogs Library Complete WMLScript Dialogs Library