Jump to content

WMLScript

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Zobh (talk | contribs) at 19:44, 25 July 2006. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

WMLScript is the dialect of JavaScript for the WML pages and it is the part of Wireless Application Protocol (WAP).

WMLScript is the Client-side scripting language and is very similar to JavaScript. Just like JavaScript WMLScript is used for tasks such as user input validation, generate error message and other Dialog boxs etc.

WMLScript is based on ECMAScript (European Computer Manufacturers Association Script), which is JavaScript's standardized version. So, the syntax of WMLScript is very similar to JavaScript.

A major difference between JavaScript and WMLScript is that JavaScript code can be embedded in the HTML markup, whereas WMLScript code is always placed in a file separated from the WML markup. URLs are used to refer to the actual WMLScript code in the WML document.

See also