4. Why use jQuery?
Less coding.
Simplify event handling.
Simplify AJAX.
Simplify DOM traversal.
Handling of cross browser issues.
Popular and useful client frameworks depend
on jQuery e.g., Bootstrap, Ember.js
Lot of plugins available.
etc
8. Examples – DOM traversal.
You can traverse the DOM tree pretty easily.
Demo.
9. Examples – Event handling.
Bind listeners to your objects.
Callbacks.
Demo.
10. Upgrades.
Upgrading is essential part of jQuery.
jQuery migrate plugin.
Automated tests (e.g., Selenium) should
reveal problems.
Manual correction thereafter.
11. Other libraries.
Mootools has more functionality. Some UI
components included in core.
jQuery is easier to learn. Lot of jQuery
plugins. Readable code. Chaining of
methods. Good documentation.
Nice comparison :
http://www.slideshare.net/jeresig/javascriptlibrary-overview-presentation/