What is the difference between WMLScript and JavaScript? - WAP

What is the difference between WMLScript and JavaScript?



- WMLScript is used with the WML pages, whereas JavaScript is used with the HTML pages and it is not compatible with WML.

- JavaScript is the part of the WAP or Wireless Application Protocol, whereas WMLScript comes under WML only.

- WMLScript is used for the client side scripting and it is not different from JavaScript, whereas JavaScript is used for performing tasks like user input validations and generating of error messages.

- WMLScript uses the ECMAScript but it is not compatible with the JavaScript, whereas JavaScript is fully compatible with the HTML.

- WMLScript code is written in a file and is placed in the document, whereas JavaScript code is embedded in HTML language.
Post your comment