Analysis of the functions and advantages of jquery

Source: Internet
Author: User

Purpose:

1. Operation Page Object
2. Modify the page appearance
3. Event Mechanism of Oil Painting javascript
4. Add an animation effect to the page
5. Optimize ajax


Advantages:

1. lightweight
2. Excellent browser compatibility
3. Excellent dom operations
4. chained operation
5. implicit iteration set (for in loop is not required for automatic iteration of the set of selected objects) such as $ ("div: lt (2)" Der .css ("border-color ", "red")/* Add css to the first two divs */
6. separation of the behavior layer and structure (for example, to add an event to the dom, add the declare function to javascript, and use it again in the dom, jquery only needs to declare an event of an element in jquery: $ ("# myButton "). click (function () {code part }))
7. support expansion
8. Comprehensive learning resources
9. Open Source

If you have just started learning, you must remember the 3456 points, which will be of great help to solve problems in the future.

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.