What is JavaScript _ basic knowledge

Source: Internet
Author: User
Tags html form input
JavaScript is an object-and event-driven client scripting language. JavaScript was originally designed to verify the correctness of HTML form input. JavaScript originated from Netscape's LiveScript language. What is JavaScript?
JavaScript is an object-and event-driven client scripting language.
JavaScript was originally designed to verify the correctness of HTML form input.
JavaScript originated from Netscape's LiveScript language.

JavaScript history
JavaScript originally originated from the LiveScript language. When the Internet became popular, more and more websites began to use HTML forms to interact with users, however, form interaction has become a major bottleneck restricting the development of the network (users are always waiting for the data to be transmitted to the server for detection, and the returned results are correct, just form detection, the client interacts with the server multiple times ). As a result, Netscape launched the LiveScript language. Finally, Netscape and Sun named LiveScript JavaScript (JAVA was a very fashionable Internet term at the time). Then Microsoft began its ambitious browser program, JScript was launched, so several similar JavaScript languages appeared on the Internet, but there was no unified features and syntax (JavaScript development was seen as a nightmare at that time, therefore, many programmers are not optimistic about JavaScript ). Finally, JavaScript was submitted to the European Computer Manufacturers Association (ECMA). As a neutral ECMA, it began to standardize the scripting language and named it ECMAScript.

Composition of JavaScript
The complete JavaScript is composed of ECMAScript (syntax), Browser Objects (DOM, BOM) (features.


Is a JavaScript composition graph, the arrow represents the call relationship


Several Questions
Why JavaScript?
Because you have no choice, only JavaScript can control all commonly used browsers, and JavaScript is one of the most important programming languages in the world, learning web technology must learn JavaScript.
JavaScript is a beautiful language, it is good, so we need to learn :)
Is JavaScript the same as Java?
Javascript has nothing to do with java. They are actually two languages and get similar names, mainly for commercial reasons.

Javascript is a client scripting language.
Java is the server language. (It is a product of SUN .)
Is JavaScript hard to learn?
It is not difficult. JavaScript is easy to get started. You only need to learn JavaScript in elementary school mathematics, but you must first learn the HTML language.

What can JavaScript do?
JavaScript can detect the correctness of forms, implement Ajax, read, write, and change the DOM architecture of HTML pages, respond to events, and detect devices used by viewers, produce cool and dazzling web page effects such as DHTML.
What software is required to learn JavaScript?
You only need windows Notepad and browsers (IE, Firefox, and Opera), but I recommend you use the powerful Notepad ++ editor.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.