jQuery Cookbook: Solutions & Examples for jQuery Developers

Front Cover
"O'Reilly Media, Inc.", Nov 9, 2009 - Computers - 480 pages

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

 

Contents

Chapter 1 jQuery Basics
1
Chapter 2 Selecting Elements with jQuery
35
Chapter 3 Beyond the Basics
53
Chapter 4 jQuery Utilities
77
Chapter 5 Faster Simpler More Fun
87
Chapter 6 Dimensions
135
Chapter 7 Effects
151
Chapter 8 Events
171
Chapter 11 HTML Form Enhancements with Plugins
237
Chapter 12 jQuery Plugins
263
Chapter 13 Interface Components from Scratch
279
Chapter 14 User Interfaces with jQuery UI
315
Chapter 15 jQuery UI Theming
341
HTML XML JSON JSONP
391
Chapter 17 Using jQuery in Large Projects
411
Chapter 18 Unit Testing
425

Chapter 9 Advanced Events
191
Chapter 10 HTML Form Enhancements from Scratch
211

Common terms and phrases

Bibliographic information