On the function and advantage of jquery _jquery

Source: Internet
Author: User

Role:

1. Manipulating Page objects
2. Modify the appearance of the page
3. The event mechanism of the oil painting JavaScript
4. Add animation effects to the page
5. Optimize Ajax


Advantage:

1. Lightweight
2. Excellent browser compatibility
3. Excellent DOM operations
4. Chain Mode of operation
5. An implicit iteration set (the automatic iteration of a collection of selected objects does not need to be in a for loop) such as $ ("Div:lt (2)"). CSS ("Border-color", "red") * * Add to the top two div css*/
6. Separation of the behavior layer from the structure (if you want to add events to the DOM, add a function to be declared once in JavaScript, and use it again in the DOM, jquery can simply declare an event for an element in the jquery section: $ ("#myButton"). Click (function () {code part}))
7. Support for expansion
8. Perfect Learning Resources
9. Open Source

If you have just started learning must remember 3,456 points, to solve the problem in the future a lot of help.

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.