JavaScript Development Technology Encyclopedia-1th Chapter JavaScript Overview _ Basics

Source: Internet
Author: User
1.1 Slightly

1.2 version. Slightly

1.3 JavaScript and browser slightly

1.4 JavaScript function

Excerpt from "3Cschool"

What can JavaScript do?

JavaScript provides an HTML designer with a programming tool
HTML creators are often not programmers, but JavaScript is a scripting language with very simple syntax! Almost everyone has the ability to put short snippets of code into their HTML pages.
JavaScript can put dynamic text into an HTML page
A JavaScript declaration like this can put a variable amount of text into an HTML page: document.write ("JavaScript can respond to events
You can set JavaScript to be executed when an event occurs, such as when a page is loaded or when a user clicks on an HTML element.
JavaScript can read and write HTML elements
JavaScript can read and change the contents of HTML elements.
JavaScript can be used to validate data
JavaScript can be used to validate data before it is committed to the server.
JavaScript can be used to detect visitors ' browsers
JavaScript can be used to detect the visitor's browser and load the appropriate page for the browser based on the browser being detected.
JavaScript can be used to create cookies
JavaScript can be used to store and retrieve information that resides on the visitor's computer.
Limitations of 1.5 JavaScript

。 belongs to client script, you must heat the row under the parser.

。 Although you can implement dynamic effects on a Web page, you do not have any graphics processing power.

。 Does not include networking technology and cannot read data in the database.

。 Most browsers do not allow JavaScript to operate across domains.

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.