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.