Learning jQuery, Third Edition and over one million other books are available for Amazon Kindle. Learn more



or
Sign in to turn on 1-Click ordering
Sell Us Your Item
For a $5.75 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Start reading Learning jQuery, Third Edition on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.
Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 

Learning jQuery, Third Edition [Paperback]

Jonathan Chaffer , Karl Swedberg
4.7 out of 5 stars  See all reviews (24 customer reviews)

List Price: $39.99
Price: $35.99 & FREE Shipping. Details
You Save: $4.00 (10%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it Wednesday, May 29? Choose One-Day Shipping at checkout. Details

Formats

Amazon Price New from Used from
Kindle Edition $14.39  
Paperback $35.99  
Shop the new tech.book(store)
New! Introducing the tech.book(store), 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

September 23, 2011
Step through each of the core concepts of the jQuery library, building an overall picture of its capabilities. Once you have thoroughly covered the basics, the book returns to each concept to cover more advanced examples and techniques. This book is for web designers who want to create interactive elements for their designs, and for developers who want to create the best user interface for their web applications. Basic JavaScript programming and knowledge of HTML and CSS is required. No knowledge of jQuery is assumed, nor is experience with any other JavaScript libraries.

Frequently Bought Together

Learning jQuery, Third Edition + JavaScript & jQuery: The Missing Manual + HTML and CSS: Design and Build Websites
Price for all three: $78.99

Buy the selected items together


Editorial Reviews

About the Author

Jonathan Chaffer

Jonathan Chaffer is a member of Rapid Development Group, a web development firm located in Grand Rapids, Michigan. His work there includes overseeing and implementing projects in a wide variety of technologies, with an emphasis in PHP, MySQL, and JavaScript. He also leads on-site training seminars on the jQuery framework for web developers.

In the open-source community, Jonathan has been very active in the Drupal CMS project, which has adopted jQuery as its JavaScript framework of choice. He is the creator of the Content Construction Kit, a popular module for managing structured content on Drupal sites. He is responsible for major overhauls of Drupal's menu system and developer API reference. Jonathan lives in Grand Rapids with his wife, Jennifer.

Karl Swedberg

Karl Swedberg is a web developer at Fusionary Media in Grand Rapids, Michigan, where he spends much of his time making cool things happen with JavaScript. As a member of the jQuery team, Karl is responsible for maintaining the jQuery API site at api.jquery.com. He also publishes tutorials on his blog, learningjquery.com, and presents at workshops and conferences. When he isn't coding, Karl likes to hang out with his family, roast coffee in his garage, and exercise at the local cross-fit gym.


Product Details

  • Paperback: 428 pages
  • Publisher: Packt Publishing; 3 edition (September 23, 2011)
  • Language: English
  • ISBN-10: 1849516545
  • ISBN-13: 978-1849516549
  • Product Dimensions: 7.5 x 0.9 x 9.2 inches
  • Shipping Weight: 2 pounds (View shipping rates and policies)
  • Average Customer Review: 4.7 out of 5 stars  See all reviews (24 customer reviews)
  • Amazon Best Sellers Rank: #56,820 in Books (See Top 100 in Books)

More About the Author

Karl Swedberg is a web developer at Fusionary Media in Grand Rapids, Michigan, where he spends much of his time making cool things happen with JavaScript. As a member of the jQuery team, Karl is responsible for maintaining the jQuery API site at api.jquery.com. He also publishes tutorials on his blog, learningjquery.com, and presents at workshops and conferences. When he isn't coding, Karl likes to hang out with his family, roast coffee in his garage, and exercise at the local cross-fit gym.

Customer Reviews

4.7 out of 5 stars
(24)
4.7 out of 5 stars
It is clearly and concisely written and well organized. William Dowdell  |  9 reviewers made a similar statement
This IS the book to get if you want to learn jQuery. Victor Lopez  |  4 reviewers made a similar statement
QUnit is a very good tool for testing and it's nice that they included it in the book. C. Lung  |  2 reviewers made a similar statement
Most Helpful Customer Reviews
37 of 38 people found the following review helpful
4.0 out of 5 stars This is a good book to learn jQuery November 21, 2011
By C. Lung
Format:Paperback
Chapter 1: Getting Started

The book starts off with a quick introduction to jQuery, what it does and why it works so well. As the authors point out one of the great things you learn about jQuery right away is that it abstracts away browser quirks for you. With most browsers putting out a new version every few months this becomes a solid benefit for using jQuery.

The chapter includes an example (the HTML in the sample has been updated to HTML5) to inject a new CSS class to a particular DIV on the page. They demonstrate how this could be done without jQuery using plain JavaScript so you can see how much time jQuery saves you in terms of the amount of code you would need to write otherwise.

The chapter finishes off with a quick mention and demo (using Firebug) of some tools you can use to help work with jQuery more efficiently when your writing code.

Chapter 2: Selecting Elements

The basics are laid out in this chapter like the DOM and how HTML pages are structured, the $() function, CSS selectors and custom selectors. Each topic is shown either in code or an image to better represent it to the reader. The code examples are easy yet practical and even a beginner in HTML/JavaScript shouldn't have much of a problem following along. The sub-topics in the chapter are then used to introduce things like DOM traversal methods (their example of styling specific cells is useful), chaining, and ends off with accessing DOM elements.

Chapter 3: Handling Events

Towards the start of this chapter there is a good hint they mention regarding putting your style tags before the script tags in your HTML page, that way you know your page has been styled before any script has been run. This might be common sense to an experienced developer but to a new jQuery developer it is an excellent learning tip - one of the many hints throughout the book that will help you along and better understand not just jQuery but HTML/CSS/JavaScript as well.

This chapter does a good job of explaining and demoing events as well as how you can get jQuery and other JavaScript frameworks to play together nicely using jQuery.noConflict. Simple events are covered and then the authors move onto compound events all with real world demonstrations and code. This really is a great chapter and is packed with information like simulating user interaction, event bubbling, etc.

Chapter 4: Styling and Animating

This is probably the most fun chapter to read and work through the demos. You learn how to do animations (including custom ones) and effects. All the basics are here and are followed up with good demos and source code. In addition they show how to animate multiple properties at once (perhaps you want to use a slide and a fade effect together), simultaneous versus queued effect and ending off with working with multiple sets of elements.

Chapter 5: Manipulating the DOM

This chapter starts to get much more technical where you start to dive into doing heavier modifications like manipulating attributes (attr() and .removeAttr(), etc), creating/inserting/copying elements. Fortunately, the demos are great and present the content in a readable fashion that makes sense. This is a shorter chapter than some of the others but is packed with a lot of information. You might need to read it more than once to fully grasp it all if your new to jQuery.

Chapter 6: Sending Data with Ajax

Ah, AJAX! Perhaps one of the most discussed topics in jQuery books and articles for the past several years. No jQuery book would be complete without a discussion of the excellent support jQuery offers for AJAX. A simple example kicks off the chapter followed by loading JSON and XML content. Passing data to the server they show their demonstration and code using server-side PHP.

The section on Serializing a Form I think was good with the simple example they used but I do feel it should have followed up with a more real world example that was a bit more complex (using more then one form element, ex: using combo boxes, multiple textboxes, radio buttons, etc.).

The section Keeping an eye on the request is useful and shows you how to display a "loading" message wile your AJAX request is loading. They also show how to handle errors as well as security limitations which naturally leads right into a discussion of JSONP (JSON with Padding). The example is good and the typical warning on using JSONP is pointed out. The chapter ends with diving into the low-level Ajax method.

Chapters 7 and 8: Using Plugins and Developing Plugins

Both of these chapters are dealing with either using plugins or developing you own. Chapter 7 starts you off with locating, installing and using plugins. It ends off with one of the most useful plugin libraries available to jQuery which is jQuery UI. Also, as the book points out the jQuery UI library is really a set of plugins - you can pick and choose which ones you want in your project or take them all.

Chapter 8 goes over the types of plugins you can create and shows how to build each one. Both chapters give you enough to get started with plugins in general, at least to craft a simple to moderately difficult plugin. Its all the essential information you need if you do see yourself writing plugins in the future for jQuery.

Chapters 9, 10, 11, 12, 13

The final chapters in the book cover the initial topics but now dive deeper into them. Advanced Selectors and Transversing, Advanced Events, Advanced DOM Manipulation and Advanced AJAX are all covered and elaborated on.

This is an interesting way to split the book up with a great jQuery introduction at the start of the book and then diving deeper on each topic at the end of the book. Someone already familiar with jQuery could skip to the first half of the book when they feel they need more than just the basics. The same is true if your an expert in say AJAX but need to learn the basics of using plugins, etc. It makes for a great reference and a logical split of the basic information and the more advanced.

There are three appendixes as well: JavaScript Closures (a must read and the authors did a good job in simplifying a topic some developers can find difficult at first). Testing JavaScript with QUnit (used for functional testing and unit testing) and a quick reference make up the final parts of the book. QUnit is a very good tool for testing and it's nice that they included it in the book.

All-in-all this is a good book to learn jQuery with no fluff.
Was this review helpful to you?
14 of 14 people found the following review helpful
5.0 out of 5 stars So far the best book about jQuery I found January 18, 2012
By Eugene
Format:Paperback
The best book about jQuery I found so far:
* Very helpful for beginners and mid-skilled web developers
* Easy to read, good explanation of material
* Whole book is build around real-life samples (not just documentation interpretation like in most other books)
* Nice reference of main jQuery methods and properties at the end of book... still use it all the time

Huge "thank you" to the authors!

PS: one of the rare good technical books in our days

PPS (Dec 2012): After JQuery UI 1.9 release this book is a little bit out of date on API. Definitely will buy next edition of this book after jQuery UI API 2.0 release.
Was this review helpful to you?
9 of 9 people found the following review helpful
5.0 out of 5 stars One of the best sources for jQuery on the market March 4, 2012
By milo
Format:Paperback|Amazon Verified Purchase
I have purchased and read three or four jQuery books and this is hands down the most complete.

Other books step through simple examples of jQuery selectors, method syntax and usage. The authors of "Learning jQuery" take a different approach by building example pages up from bare html and adding and refining jQuery functionality as they go. For the most part this approach works for me. I can always look up specific jQuery methods elsewhere if I need another viewpoint or additional information.

I changed my mind and rated the book at five stars vs four. Originally I was going to ding it a star for not being as comprehensive as the website. But you can't pack it all into a finite set of pages, and that in my mind is the one weakness (minor) of the approach the authors took. The jQuery website is the go to resource for a complete listing of jQuery functions. The book is an excellent companion to the website.
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
4.0 out of 5 stars Good book for both beginners as well as for advanced developers
I use jQuery in my projects for more than 4 years. Often I build my knowledge base “on demand”, this means I’m looking for the information in the web with question “how to …”. Read more
Published 14 days ago by alexs
5.0 out of 5 stars GREAT jQuery book
I picked up this book and got something I could actually use in my code the first day of looking into it - an amazing thing for any programming book! Read more
Published 22 days ago by Quantum Kev
4.0 out of 5 stars Excellent, but wait for the 4th edition
As you can gather from the many positive reviews, this is overall an excellent and thorough book.

However it was written when the current jQuery version was 1. Read more
Published 24 days ago by M. Stanaland
5.0 out of 5 stars Great and easy to read
Easy to follow up the lesson and examples make me to understand the concept easily. I love it a lot. The Kindle edition is cheaper and I can read everywhere I want on Kindle Cloud. Read more
Published 1 month ago by songporn
5.0 out of 5 stars Great introduction to JQuery!
I started with no knowledge of JQuery, this got me up to speed in no time. A good mix of theory and practical exercises. Read more
Published 1 month ago by Jack Matthews
4.0 out of 5 stars Great book with a lot of examples
Had a lot of good examples through out the book. For the most part did a good job commenting on the code. Did a better job at the beginning of the book than towards the end. Read more
Published 2 months ago by GTO1965
5.0 out of 5 stars Quality Instruction
Summary: Great book. Effective instruction. I recommend it highly.

I bought this book to help me get up to speed on jQuery for my job. Read more
Published 2 months ago by KGar
3.0 out of 5 stars Event handling approach is outdated. Still a great jQuery resource.
I specifically purchased this book for an introduction to jQuery event management with .on() and .off(). This book uses the deprecated approach of .bind(), .live(), etc. Read more
Published 3 months ago by Stan S.
5.0 out of 5 stars Great for learning the basics
Great overview of jQuery. Presents the material clearly with good examples. Would recommend as a great intro book to jQuery.
Published 3 months ago by Theodore Raymond
5.0 out of 5 stars Informative, Easy Read, Practical Examples
This book is a good primer and go to reference for those who are both jQuery beginners to jQuery intermediates.
Published 3 months ago by M. Greenleaf
Search Customer Reviews
Only search this product's reviews

What Other Items Do Customers Buy After Viewing This Item?


Forums

There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
Topic:
First post:
Prompts for sign-in
 



So You'd Like to...


Create a guide


Look for Similar Items by Category