jQuery Reference Guide
|Also available on:|
- Organized menu to every method, function, and selector in the jQuery library
- Quickly look up features of the jQuery library
- Understand the anatomy of a jQuery script
- Extend jQuery's built-in capabilities with plug-ins, and even write your own
Table of Contents
Chapter 1: Anatomy of a jQuery Script
Chapter 2: Selector Expressions
Chapter 3: DOM Traversal Methods
Chapter 4: DOM Manipulation Methods
Chapter 5: Event Methods
Chapter 6: Effect Methods
Chapter 7: AJAX Methods
Chapter 8: Miscellaneous Methods
Chapter 9: Plug-In API
Chapter 10: Dimensions Plug-In
Chapter 11: Form Plug-In
Appendix A: Online Resources
Appendix B: Development Tools
Download the code and support files for this book.
Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.
Errata- 2 submitted: last submission 28 Feb 2014
|page 27||Other||08 Apr 09|
|page 72||typo||26 Mar 09|
|page 83||Other||31 Mar 09|
|page 225||typo||26 Mar 09|
Page 72 Errata type: Code
Section ".html(HTML)": $('div.demo-container'>.html('
All new content. You bet!'); The ">" just before the ".html" should be a ")".
What you will learn from this book
- Get a broad overview of the jQuery library's capabilities with a real-world example
- Examine any jQuery method, function, and selector in detail, wherever and whenever it is needed
- Investigate jQuery's plug-in architecture, using a variety of approaches to extend the library's capabilities
- Explore the Dimensions plug-in for getting the size and position of any element on the pageâ€”even the document and browser window
- Discover the Form plug-in for combining AJAX techniques with HTML forms
In Chapter 1, Anatomy of a jQuery Script, we begin by dissecting a working jQuery example. This script will serve as a roadmap for this book, directing you to the chapters containing more information on particular jQuery capabilities.
The heart of the book is a set of reference chapters that allow you to quickly look up the details of any jQuery method. Chapter 2, Selector Expressions, lists every available selector for finding page elements.
Chapter 3, DOM Traversal Methods, builds on the previous chapter with a catalog of jQuery methods for finding page elements.
Chapter 4, DOM Manipulation Methods, describes every opportunity for inspecting and modifying the HTML structure of a page.
Chapter 5, Event Methods, details each event that can be triggered and reacted to by jQuery.
Chapter 6, Effect Methods, defines the range of animations built into jQuery, as well as the toolkit available for building your own.
Chapter 7, AJAX Methods lists the ways in which jQuery can initiate and respond to server communication without refreshing the page.
Chapter 8, Miscellaneous Methods, covers the remaining capabilities of the jQuery library that don't neatly fit into the other categories.
In the final three chapters, we dive into the extension mechanisms jQuery makes available. Chapter 9, Plug-in API, reveals four major ways to enhance jQuery's already robust capabilities using a plug-in. The chapter shows how to use plug-ins and we develop a custom plug-in from the ground up.
Chapter 10, Dimensions Plug-in, walks you through the advanced measurement tools available in this popular plug-in.
Chapter 11, Form Plug-in, empowers you to bring AJAX technology and HTML forms together, a process which is made easy by this plug-in.
Appendix B, Development Tools, recommends a number of useful third-party programs and utilities for editing and debugging jQuery code within your personal development environment.
Learning jQuery begins with a tutorial to jQuery, followed by an examination of common, real-world client-side problems, and solutions for each of them, making it an invaluable resource for answers to all your jQuery questions.
jQuery Reference Guide digs deeper into the library, taking you through the syntax specifications and following up with a detailed discussion. You'll discover the untapped possibilities that jQuery makes available, and hone your skills as you return to this guide time and again.
Visit the jQuery Reference Guide Free Online Edition and read chapter introductions and a free chapter in full.
This book is a detailed reference guide, and an invaluable resource for answers to all your jQuery questions. It begins with a real-world jQuery example, which illustrates the structure of a jQuery script. A detailed reference chapter is then presented for each of the main components of jQuery. The book concludes with three reference chapters on jQuery plug-ins: the API for plug-in creation, the Dimensions plug-in, and the Form plug-in.
Who this book is for
This book is for web developers who want a broad, organized view of all the jQuery library has to offer or a quick reference on their desks to refer to for particular details.