2.1. Understanding the Basic Behavior of jQuery Scripts2.2. Understanding jQuery Methods2.2.1. Traversing DOM Elements2.2.1.1. .eq()2.2.1.2. .filter() and .not()2.2.1.3. .first() and .last()2.2.1.4. .has()2.2.1.5. .is()2.2.1.6. .slice()2.2.1.7. .children()2.2.1.8. .closest()2.2.1.9. .find()2.2.1.10. .next(), .nextAll(), and .nextUntil()2.2.1.11. .prev(), .prevAll(), and .prevUntil()2.2.1.12. .siblings()2.2.1.13. .parent()2.2.1.14. .parents() and .parentsUntil()2.2.1.15. .add()2.2.1.16. .andSelf()2.2.1.17. .contents()2.2.1.18. .end()2.2.2. Creating and Inserting DOM Elements2.2.2.1. Creating New DOM Elements2.2.2.2. Inserting New Elements into the DOM2.2.2.2.1. .append() and .prepend()2.2.2.2.2. .appendTo() and .prependTo()2.2.2.2.3. .after() and .before()2.2.2.2.4. .insertAfter() and .insertBefore()2.2.2.2.5. .wrap()2.2.2.2.6. .unwrap()2.2.2.2.7. .wrapAll()2.2.2.2.8. .wrapInner()2.2.2.3. .remove() and .detach()2.2.3. Accessing and Modifying CSS and Attributes2.2.3.1. .attr()2.2.3.2. .removeAttr()2.2.3.3. .css()2.2.3.3.1. .text() and .html()2.2.3.4. .val()2.2.3.5. .data()2.2.3.6. .addClass(), .removeClass(), and .toggleClass()2.2.3.7. .hasClass()2.2.3.8. .height() and .width()2.2.3.9. .innerHeight(), .innerWidth(), .outerHeight(), and .outerWidth()2.2.4. Affecting Result Sets2.2.4.1. .map() and .each()2.2.5. Using Animation and Other Effects2.2.5.1. .show() and .hide()2.2.5.2. .fadeIn(), .fadeOut(), and .fadeTo()2.2.5.3. .slideUp(), .slideDown(), and .slideToggle()2.2.5.4. .animate()2.2.5.5. .delay()2.2.5.6. .stop()2.2.6. Handling Events2.2.6.1. Browser Events2.2.6.1.1. .error()2.2.6.1.2. .scroll()2.2.6.2. Handling Document Loading Events2.2.6.2.1. .ready()2.2.6.2.2. .unload()2.2.6.3. Handling Event Attachment2.2.6.3.1. .bind() and .unbind()2.2.6.3.2. .live() and .die()2.2.6.3.3. .one()2.2.6.3.4. .toggle()2.2.6.3.5. .trigger()2.2.6.4. Shortcut Event Methods2.2.7. Using AJAX Controls2.2.7.1. $.ajax()2.2.7.2. $.ajaxSetup()2.2.7.3. Using Shorthand AJAX Methods2.2.7.3.1. $.get() and $.post()2.2.7.3.2. $.getJSON()2.2.7.3.3. $.getScript()2.2.7.3.4. .load()2.3. Summary