9. Turning on jQuery’s Utilities

The jQuery library provides a number of handy functions known as utilities (http://api.jquery.com/category/utilities/). These utility functions don’t have the glamour associated with all the other functionality that jQuery provides, but these powerful little tools will enhance the jQuery code that you write and use every day.

Many of these utilities mimic their pure JavaScript counterparts but come with the ease of use that the jQuery library supplies. The jQuery library also provides some specialized utility functions to store and remove data elements on DOM elements or loop through a selected set of elements. You’ll also find ...

Get jQuery and jQuery UI: Visual QuickStart Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.