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.