Start reading jQuery Cookbook: Solutions & Examples for jQuery Developers on the free Kindle Reading App or on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here.
Programming Books C Java PHP Python Learn more Browse Programming Books

Deliver to your Kindle or other device

Enter a promotion code
or gift card

Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Anybody can read Kindle books—even without a Kindle device—with the FREE Kindle app for smartphones, tablets and computers.
Sorry, this item is not available in
Image not available for
Image not available

To view this video download Flash Player


jQuery Cookbook: Solutions & Examples for jQuery Developers (Animal Guide) [Kindle Edition]

Cody Lindley
3.9 out of 5 stars  See all reviews (45 customer reviews)

Digital List Price: $27.99 What's this?
Print List Price: $34.99
Kindle Price: $15.39
You Save: $19.60 (56%)


Amazon Price New from Used from
Kindle Edition $15.39  
Paperback $25.82  
Shop the new
New! Introducing the, a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Book Description

jQuery simplifies building rich, interactive web frontends. Getting started with this JavaScript library is easy, but it can take years to fully realize its breadth and depth; this cookbook shortens the learning curve considerably. With these recipes, you'll learn patterns and practices from 19 leading developers who use jQuery for everything from integrating simple components into websites and applications to developing complex, high-performance user interfaces.

Ideal for newcomers and JavaScript veterans alike, jQuery Cookbook starts with the basics and then moves to practical use cases with tested solutions to common web development hurdles. You also get recipes on advanced topics, such as methods for applying jQuery to large projects.

  • Solve problems involving events, effects, dimensions, forms, themes, and user interface elements
  • Learn how to enhance your forms, and how to position and reposition elements on a page
  • Make the most of jQuery's event management system, including custom events and custom event data
  • Create UI elements-such as tabs, accordions, and modals-from scratch
  • Optimize your code to eliminate bottlenecks and ensure peak performance
  • Learn how to test your jQuery applications

The book's contributors include:

  • Cody Lindley
  • James Padolsey
  • Ralph Whitbeck
  • Jonathan Sharp
  • Michael Geary and Scott González
  • Rebecca Murphey
  • Remy Sharp
  • Ariel Flesler
  • Brian Cherne
  • Jörn Zaefferer
  • Mike Hostetler
  • Nathan Smith
  • Richard D. Worth
  • Maggie Wachs, Scott Jehl, Todd Parker, and Patty Toland
  • Rob Burns

Editorial Reviews

Book Description

Solutions & Examples for jQuery Developers

About the Author

Cody Lindley, editor of jQuery Cookbook, brings together over a dozen contributors, all of them key people in jQuery's ongoing development process. Each focuses on subjects they've worked with and often helped create.

Product Details

  • File Size: 3123 KB
  • Print Length: 480 pages
  • Simultaneous Device Usage: Unlimited
  • Publisher: O'Reilly Media; 1 edition (November 9, 2009)
  • Sold by: Amazon Digital Services, Inc.
  • Language: English
  • ASIN: B0043D2EOU
  • Text-to-Speech: Enabled
  • X-Ray:
  • Lending: Enabled
  • Amazon Best Sellers Rank: #273,143 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?

Customer Reviews

Most Helpful Customer Reviews
27 of 28 people found the following review helpful
5.0 out of 5 stars Another Great O'Reilly Cookbook January 6, 2010
The jQuery Cookbook, like the many other Cookbook series of books from O'Reilly proves to be an extremely valuable addition to any web developer's bookshelf. There's nothing unexpected here - it's a book full of practical solutions to hundreds of everyday problems.

The first chapter, "jQuery Basics" is meant to be a crash course introduction to jQuery, but it likely won't suffice if you're new to jQuery, and certainly won't prepare you if you're relatively unfamiliar with javascript in general. This book is primarily intended for the everyday jQuery developer who wants a reference for specific issues that come up in projects.

If you are familiar with jQuery basics, a cover-to-cover reading of this book will take you to the next level, but most developers will only read the entries that pertain to the problems they face during development.

The jQuery Cookbook was written by the jQuery community - people who have faced these issues in their own development and have solved them in the real world. I found that a majority of the recipes were well written and clear with properly tested and working code. All-in-all, the jQuery Cookbook is a useful and reliable resource for practical jQuery development.
Comment | 
Was this review helpful to you?
29 of 32 people found the following review helpful
5.0 out of 5 stars Great Book on jQuery to Get Started December 19, 2009
jQuery is considered the most popular and easy to use JavaScript library. It used by websites big and small with large corportations like Google and MSN. Although there are a few books on jQuery already and the jQuery website ([...]) has lots of useful information, there is still a lacking of a good jQuery book that can show the reader some very useful ways to use jQuery. This is an excellent book on showing the introductory to intermediate developers how to use jQuery efficiently and quickly.

Chapter 1 : jQuery Basics
Chapter 2 : Selecting Elements with jQuery
Chapter 3 : Beyond the Basics
Chapter 4 : jQuery Utilities
Chapter 5 : Faster, Simpler, More Fun
Chapter 6 : Dimensions
Chapter 7 : Effects
Chapter 8 : Events
Chapter 9 : Advanced Events
Chapter 10 : HTML Form Enhancements from Scratch
Chapter 11 : HTML Form Enhancements with Plugins
Chapter 12 : jQuery Plugins
Chapter 13 : Interface Components from Scratch
Chapter 14 : User Interfaces with jQuery UI
Chapter 15 : jQuery UI Theming
Chapter 16 : jQuery, Ajax, Data Formats: HTML, XML, JSON, JSONP
Chapter 17 : Using jQuery in Large Projects
Chapter 18 : Unit Testing

The author takes the reader through the entire gambit of jQuery lerning from the basics of selecting elements, utilites, and effects to advanced event handling, ajax and plugins and much more.

This 'cookbook' can be used as either a learning tool for the beginner or as a reference book for the seasoned jQuery user who needs to find a script or technique quickly.

A great book and definitely worth buying if you really want to learn jQuery.
Comment | 
Was this review helpful to you?
28 of 31 people found the following review helpful
5.0 out of 5 stars Straight-forward, clear, simple, like jQuery itself! November 27, 2009
Format:Paperback|Verified Purchase
Much anticipated jQuery cookbook that was well worth the wait.

This cookbook will serve any (beginner to intermediate) jQuery/web 2.0 developer with 150+ easy to grasp "recipes". Nothing groundbreaking here, just great scripts that do 95% of what you need to do faster/efficiently. END NOTE: I was hoping for more AJAX-jQuery or JSON related material. This book with jQuery in Action is a good combo.
Comment | 
Was this review helpful to you?
17 of 18 people found the following review helpful
3.0 out of 5 stars Not Focused or Essential January 16, 2011
By margot
A mixed bag. This is an assemblage of overview and how-to articles on a variety of jQuery methods and tricks. I have not been able to use it as a cookbook, although that may change in the future, and I have no plan to throw it out anytime soon. There is no single go-to guide for jQuery, at least no published book that is more convenient and informative than the jQuery site itself, or developers' problem-solving sites (such as For a reference book, Learning jQuery 1.3 and the jQuery 1.3 (or 1.4) Reference Guide, both from Packt, are more comprehensive, while Manning's jQuery in Action gives the most readable and friendly learning environment.
Comment | 
Was this review helpful to you?
10 of 10 people found the following review helpful
Format:Paperback|Verified Purchase
This book is very full, and fills the reader in on some good insights about using jQuery, but it functions more like a glorified syntax list/reference, not a cookbook.

Many of the examples isolate a single concept and use the alert box function to show how it works. You can't call it a cookbook when the recipes show you how to select certain elements and then tell the user that you've selected them. This recipe alone serves no particular purpose.

It would be much more useful if the author showed concepts working together to reach a sensible goal that one might need to accomplish in real development. The reader of this book has to do lots of back and forth to flexibly understand how to use jQuery.

On top of that, there is so much content, and the author explains concepts in so much detail that it is out of a beginner's range and patronizing for its intended audience, which is people who already have a decent grasp of the concepts in use.
Was this review helpful to you?
6 of 6 people found the following review helpful
3.0 out of 5 stars OK but not fantastic February 11, 2012
By Tibal
Having played a bit with jQuery on a few projects, I wanted to understand a bit more the core of jQuery and see how usual problems can be solved. Being a fan of O'Reilly books, I purchased jQuery cookbook.

The approach is OK for somebody who has basic knowledge of Javascript and CSS : it relies on examples ("How can I .... with jQuery ?") to cover things a jQuery developer might want to know : include the libraries, write a plugin, use an existing plug-in, use and customize jQuery-UI plugins etc, and also mentions topics such as performance or testing.

While most examples are actually rather good, some of them just make you think "there MUST be a better way to do it".

In my opinion, the main problem is that, being a work by "the jQuery community" rather than a book written by one or two authors, it lacks coherence : each developer seems to write jQuery code in his own way and no effort was made in this book to homogenize the code examples. This might really hurt your brain if you plan to read it from cover to cover.

So as a conclusion : it can be useful for a beginner who just wants to know how to solve a specific problem, but do not expect to find a reference that you can read from cover to cover. For this purpose, the online jQuery documentation is really really great !
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
4.0 out of 5 stars Getting further and further out of date, but still useful if you...
I picked up this book years ago, when it was still pretty new, to acquaint myself with the then-recent jQuery library. Read more
Published 2 months ago by Joshua Davies
3.0 out of 5 stars for past time
i read the book at 2014,
although some content is old and deprecated,but some is useful.
i like chapter 3,4,5,9,16
Published 5 months ago by wyxz125
5.0 out of 5 stars Remarkable text that gives excellent advanced-user example
A great book for those familiar with javaScript and jQuery. It provides hundreds of "tricks of the trade" to help solve individual problems, but also serve as a great... Read more
Published 10 months ago by Tim.spqr
3.0 out of 5 stars Good, but
Excellent coverage of capabilities, but examples are skewed toward showmanship, not usefulness. Good to learn from, but commercial examples would have been more helpful.
Published 14 months ago by G. Guth
1.0 out of 5 stars Complete foobar
Why would anyone buy this book? The author presents 21 reasons on page 2. Each reason restates the same circular argument: Everyone likes JQuery because it's so popular. Read more
Published 14 months ago by Sponge Jim
5.0 out of 5 stars sweet
this bad boy is always on my desk, I use it often and I am happy to recommend it to others.
Published 20 months ago by Stephen
4.0 out of 5 stars Good learning tool
The book is well organized and can be used as a good reference for how to accomplish jQuery actions. Read more
Published 22 months ago by Amazon Consumer
1.0 out of 5 stars Another Technical Writer Book - Don't Buy it Read on
I have been a programmer for 20 years and am the author of a very popular opensource project. I have used jquery in the past, but it is buggy and new feature development, like any... Read more
Published on May 8, 2012 by regularex
4.0 out of 5 stars Excellent !
Excellent book that has practical and useful examples to give you a push in the right direction. The samples work, (WHOO HOO) and these samples are full up examples so you are not... Read more
Published on March 6, 2012 by Glenn Witerski
2.0 out of 5 stars Not for beginners
I'm a computer programmer, but never used jQuery. This is not an easy book for follow. This likely has good examples for the more seasoned jQuery program, but not for beginners.
Published on December 9, 2011 by anonymous
Search Customer Reviews
Search these reviews only

What Other Items Do Customers Buy After Viewing This Item?


Search Customer Discussions
Search all Amazon discussions

Topic From this Discussion
What version of jQuery is this book based on? 1.3 or 1.4?
It's based on 1.3.2, which was the latest version at the time we wrote the book.

All the code and techniques should still work in 1.4.
Feb 19, 2010 by Michael Geary |  See all 5 posts
first three reviews are completely uninformative
You have a good point about those reviews, but it seems a bit of a stretch to suggest that they were planted by someone connected with the book.

The reviewers posted under their real names. I'm one of the authors of the Cookbook, and I don't know who any of those people are. They certainly... Read More
Jan 3, 2010 by Michael Geary |  See all 2 posts
How to be notified when this book will be available ? Be the first to reply
Start a new discussion
First post:
Prompts for sign-in

Look for Similar Items by Category