jQuery 1.4 Reference Guide
|Also available on:|
|New jQuery Book Released|
jQuery Tools UI Library will show you how to add useful functionality to your website, using the compact but powerful jQuery Tools library.Get inspiration for developing your own ideas with the book.
- Quickly look up features of the jQuery library
- Step through each function, method, and selector expression in the jQuery library with an easy-to-follow approach
- Understand the anatomy of a jQuery script
- Write your own plug-ins using jQuery's powerful plug-in architecture
- Written by the creators of learningquery.com
- Check out the new Learning jQuery Third Edition here
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: jQuery Properties
Chapter 10: The Plug-in API
Chapter 11: Alphabetical Quick Reference
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 07 Mar 2013
Errata type: Typo | Page number: 24 | Errata date: 25 Mar 10
original text: $('p:nth-child(even)') selects the first and third because they are children 2 and 4 (both even numbers) of their parent =========================================================== I think this should be: $('p:nth-child(even)') selects the first and second because they are children 2 and 4 (both even numbers) of their parent =========================================================== notice that "second" not "third "
Errata type: Code | Page number: 32 | Errata date: 16 Mar 10
The examples for the Less Than selector wrongly shows gt. The examples work if lt is used instead. So this: # "$('li:gt(2)') selects all elements preceding the third one." Should read: "$('li:lt(2)') selects all # elements preceding the third one." And this: "$('.myclass:gt(1)') selects all elements with the class myclass preceding the second one" Should read: "$('.myclass:lt(1)') selects all elements with the class myclass preceding the second one"
What you will learn from this book
- Investigate jQuery's plug-in architecture, using a variety of approaches to extend the library's capabilities
- Pull information from the server without refreshing a page using the AJAX capabilities of jQuery
- Build a small script that dynamically extracts the headings from an HTML document and assembles them into a table of contents for the page
- Discover the Form plug-in for combining AJAX techniques with HTML forms
- Explore the Dimensions plug-in for getting the size and position of any element on the page—even the document and browser window
- Determine whether an element is visible by testing its current width and height using a :visible selector
- Inspect the browser environment and individual jQuery objects using the properties of jQuery
- Create an extremely powerful jQuery toolset using a combined set of a selector expression and a corresponding DOM traversal method
- Get complete and functional jQuery-powered scripts in this example-packed book
To make optimal use of jQuery, it's good to keep in mind the breadth of capabilities it provides. You can add dynamic, interactive elements to your sites with reduced development time using jQuery.
This book is a companion to Learning jQuery 1.3. Learning jQuery 1.3 begins with a tutorial to jQuery, where the authors share their knowledge, experience, and enthusiasm about jQuery to help you get the most from the library and to make your web applications shine.
jQuery 1.4 Reference Guide digs deeper into the library, taking you through the syntax specifications and following up with detailed discussions. You'll discover the untapped possibilities that jQuery 1.4 makes available, and polish your skills as you return to this guide time and again.
Learn from the experts
The book is a detailed reference guide, and an invaluable resource for answers to all your queries about jQuery. It is intended to be a quick reference to help at times when you need to quickly confirm a feature of the library
Who this book is for