jQuery Pocket Reference

Book description

"As someone who uses jQuery on a regular basis, it was surprising to discover how much of the library I’m not using. This book is indispensable for anyone who is serious about using jQuery for non-trivial applications."-- Raffaele Cecco, longtime developer of video games, including Cybernoid, Exolon, and Stormlord

jQuery is the "write less, do more" JavaScript library. Its powerful features and ease of use have made it the most popular client-side JavaScript framework for the Web. Ideal for JavaScript developers at all skill levels, this book is jQuery's trusty companion: the definitive "read less, learn more" guide to the library.

jQuery Pocket Reference explains everything you need to know about jQuery, completely and comprehensively. You'll learn how to:

  • Select and manipulate document elements
  • Alter document structure
  • Handle and trigger events
  • Create visual effects and animations
  • Script HTTP with Ajax utilities
  • Use jQuery's selectors and selection methods, utilities, plugins and more

The 25-page quick reference summarizes the library, listing all jQuery methods and functions, with signatures and descriptions.

Publisher resources

View/Submit Errata

Table of contents

  1. jQuery Pocket Reference
    1. SPECIAL OFFER: Upgrade this ebook with O’Reilly
    2. A Note Regarding Supplemental Files
    3. Preface
    4. 1. Introduction to jQuery
      1. jQuery Basics
      2. The jQuery() Function
      3. Queries and Query Results
    5. 2. Element Getters and Setters
      1. Getting and Setting HTML Attributes
      2. Getting and Setting CSS Attributes
      3. Getting and Setting CSS Classes
      4. Getting and Setting HTML Form Values
      5. Getting and Setting Element Content
      6. Getting and Setting Element Geometry
      7. Getting and Setting Element Data
    6. 3. Altering Document Structure
      1. Inserting and Replacing Elements
      2. Copying Elements
      3. Wrapping Elements
      4. Deleting Elements
    7. 4. Events
      1. Simple Event Handler Registration
      2. jQuery Event Handlers
      3. The jQuery Event Object
      4. Advanced Event Handler Registration
      5. Deregistering Event Handlers
      6. Triggering Events
      7. Custom Events
      8. Live Events
    8. 5. Animated Effects
      1. Simple Effects
      2. Custom Animations
        1. The Animation Properties Object
        2. The Animation Options Object
      3. Canceling, Delaying, and Queuing Effects
    9. 6. Ajax
      1. The load() Method
      2. Ajax Utility Functions
        1. jQuery.getScript()
        2. jQuery.getJSON()
        3. jQuery.get() and jQuery.post()
      3. The jQuery.ajax() Function
        1. Common Options
        2. Callbacks
        3. Uncommon Options and Hooks
      4. Ajax Events
    10. 7. Utility Functions
    11. 8. Selectors and Selection Methods
      1. jQuery Selectors
        1. Simple Selectors
        2. Selector Combinations
        3. Selector Groups
      2. Selection Methods
        1. Using a Selection As Context
        2. Reverting to a Previous Selection
    12. 9. Extending jQuery with Plugins
    13. 10. The jQuery UI Library
    14. 11. jQuery Quick Reference
      1. Factory Function
      2. Selector Grammar
      3. Basic Methods and Properties
      4. Selection Methods
      5. Element Methods
      6. Insertion and Deletion Methods
      7. Event Methods
      8. Effects and Animation Methods
      9. Ajax Functions
      10. Utility Functions
    15. Index
    16. About the Author
    17. SPECIAL OFFER: Upgrade this ebook with O’Reilly

Product information

  • Title: jQuery Pocket Reference
  • Author(s): David Flanagan
  • Release date: December 2010
  • Publisher(s): O'Reilly Media, Inc.
  • ISBN: 9781449302771