jQuery in Action, Third Edition, is a fast-paced and complete guide to jQuery, focused on the tasks you'll face in nearly any web dev project. Written for readers with minimal JavaScript experience, this revised edition adds new examples and exercises, along with the deep and practical coverage you expect from an In Action book. You'll learn how to traverse HTML documents, handle events, perform animations, write plugins, and even unit test your code. The unique lab pages anchor each concept with real-world code. Several new chapters teach you how to interact with other tools and frameworks to build modern single-page web applications.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the Technology
Thanks to jQuery, no one remembers the bad old days when programmers manually managed browser inconsistencies, CSS selectors support, and DOM navigation, and when every animation was a frustrating exercise in raw JavaScript. The elegant, intuitive jQuery library beautifully manages these concerns, and jQuery 3 adds even more features to make your life as a web developer smooth and productive.
About the Book
jQuery in Action, Third Edition, is a fast-paced guide to jQuery, focused on the tasks you'll face in nearly any web dev project. In it, you'll learn how to traverse the DOM, handle events, perform animations, write jQuery plugins, perform Ajax requests, and even unit test your code. Its unique Lab Pages anchor each concept in real-world code. This expanded Third Edition adds new chapters that teach you how to interact with other tools and frameworks and build modern single-page web applications.
What's Inside
- Updated for jQuery 3
- DOM manipulation and event handling
- Animations and effects
- Advanced topics including Unit Testing and Promises
- Practical examples and labs
About the Readers
Readers are assumed to have only beginning-level JavaScript knowledge.
About the Authors
Bear Bibeault is coauthor of Secrets of the JavaScript Ninja, Ajax in Practice, and Prototype and Scriptaculous in Action. Yehuda Katz is an early contributor to jQuery and cocreator of Ember.js. Aurelio De Rosa is a full-stack web developer and a member of the jQuery content team.
Table of Contents
- PART 1 STARTING WITH JQUERY
- Introducing jQuery PART 2 CORE JQUERY
- Selecting elements
- Operating on a jQuery collection
- Working with properties, attributes, and data
- Bringing pages to life with jQuery
- Events are where it happens!
- Demo: DVD discs locator
- Energizing pages with animations and effects
- Beyond the DOM with jQuery utility functions
- Talk to the server with Ajax 260
- Demo: an Ajax-powered contact form PART 3 ADVANCED TOPICS
- When jQuery is not enough...plugins to the rescue!
- Avoiding the callback hell with Deferred
- Unit testing with QUnit
- How jQuery fits into large projects