JavaScript is the most popular scripting language on the internet, and works in all major browsers. It can be used without purchasing a license.
JavaScript was designed to add interactivity to HTML pages. It is a scripting language. A scripting language is a lightweight programming language. JavaScript is usually embedded directly into HTML pages.
Java and JavaScript :
Java and JavaScript are two completely different languages in both concept and design. Java is a powerful and much more complex programming language , such as C and C++.
Java is server side language while Java Script is client side language.
Usage of Java Script :
Java Script is used for following purposes.
- Java Script gives HTML designers a programming tool.
- Java Script can react to events.
- Java Script can manipulate HTML elements.
- Java Script can be used to validate data.
- Java Script can be used to detect the visitor's browser.
- Java Script can be used to create cookies.
What is ECMAScript :
JavaScript is an implementation of the ECMAScript language standard. ECMA-262 is the official JavaScript standard.
JavaScript was invented by Brendan Eich at Netscape, and has appeared in all browsers since 1996.
The official standardization was adopted by the ECMA organization in 1997.
The ECMA standard was approved as an international ISO (ISO/IEC 16262) standard in 1998.