WMLScript
Encyclopedia
WMLScript is the dialect of JavaScript
used for WML pages and is part of the Wireless Application Protocol
(WAP).
WMLScript is a client-side scripting
language and is very similar to JavaScript. Just like JavaScript WMLScript is used for tasks such as user input validation, generation of error message and other Dialog boxes etc.
WMLScript is based on ECMAScript
(European Computer Manufacturers Association Script), which is JavaScript's standardized version. Thus the syntax of WMLScript is very similar to JavaScript but not fully compatible .
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 separate from the WML markup. URLs are used to refer to the actual WMLScript code in the WML document.
JavaScript
JavaScript is a prototype-based scripting language that is dynamic, weakly typed and has first-class functions. It is a multi-paradigm language, supporting object-oriented, imperative, and functional programming styles....
used for WML pages and is part of the Wireless Application Protocol
Wireless Application Protocol
Wireless Application Protocol is a technical standard for accessing information over a mobile wireless network.A WAP browser is a web browser for mobile devices such as mobile phones that uses the protocol.Before the introduction of WAP, mobile service providers had limited opportunities to offer...
(WAP).
WMLScript is a client-side scripting
Client-side scripting
Client-side scripting generally refers to the class of computer programs on the web that are executed client-side, by the user's web browser, instead of server-side...
language and is very similar to JavaScript. Just like JavaScript WMLScript is used for tasks such as user input validation, generation of error message and other Dialog boxes etc.
WMLScript is based on ECMAScript
ECMAScript
ECMAScript is the scripting language standardized by Ecma International in the ECMA-262 specification and ISO/IEC 16262. The language is widely used for client-side scripting on the web, in the form of several well-known dialects such as JavaScript, JScript, and ActionScript.- History :JavaScript...
(European Computer Manufacturers Association Script), which is JavaScript's standardized version. Thus the syntax of WMLScript is very similar to JavaScript but not fully compatible .
A major difference between JavaScript and WMLScript is that JavaScript code can be embedded in the HTML
HTML
HyperText Markup Language is the predominant markup language for web pages. HTML elements are the basic building-blocks of webpages....
markup, whereas WMLScript code is always placed in a file separate from the WML markup. URLs are used to refer to the actual WMLScript code in the WML document.