What does JavaScript mean? What's the use? I believe there are a lot of students can have this question, then today's PHP Chinese network to give you a talk about the concept of JavaScript and what is the use of JavaScript.
What does JavaScript mean?
From the Baidu Encyclopedia we can find JavaScript a literal translation script language, is a dynamic type, weak type, prototype-based language, built-in support type. Its interpreter, known as the JavaScript engine, is widely used as a scripting language for the client, and is used in HTML (an application under the standard Universal Markup Language) to add dynamic functionality to an HTML Web page.
In fact, JavaScript is a scripting language, often used in Web client programming, so that the Web page in the client browser, to achieve more dynamic functions, showing a richer visual effect.
JavaScript is made up of three parts:
ECMAScript: Describes the grammar and basic objects of the language;
The Document Object model, or DOM, is a description of the methods and interfaces for handling Web page content;
Browser object models (Browser object model, BOM): Describes the methods and interfaces that interact with the browser.
After we have a rough idea of what JavaScript is, let's go ahead and see what the JavaScript is for.
What's the use of JavaScript?
1, we have said the definition of JavaScript, then, from the definition of JavaScript, we clearly know that JavaScript can be used to achieve special effects on the Web page, including animation, interactive, such as displaying the current system time, displaying real-time information updates, These can all be easily implemented by JavaScript.
2, JavaScript is now the most common browser program, when the browser in the implementation of JavaScript, the following functions can be implemented:
Make Web pages more interactive, to provide users of the site a better, more exciting experience;
The animation above the Web page, the carousel than the piece;
The browser and the server for data communication, such as now the most popular Ajax asynchronous transmission;
Of course, JavaScript can be used in many places, such as:
JavaScript allows you to create an active user interface that gives feedback to users as they navigate between pages.
Use JavaScript to ensure that users enter valid information as forms, which can save you business time and expense.
Using JavaScript, you can create custom HTML pages based on the user's actions.
JavaScript can also process forms, set cookies, instantly build HTML pages, and create Web-based applications.
In fact, the use of the above JavaScript is almost the same, you in the process of learning, when you do a lot of pages, then you will naturally understand the use of JavaScript. Here to recommend to you the PHP Chinese web JavaScript Video Learning section, there are many JavaScript video can learn, from the basic to advanced to combat everything.