As you saw in Chapter 4, “Manipulating Content and Attributes,” jQuery provides a rich, robust, and helpful API for various tasks associated with manipulating the content in a document. In this chapter, you see that jQuery also does not leave much to be desired in what it offers for dealing with arrays or objects.
In this section, you learn how to approach the task of enumerating or iterating over an array of values using jQuery's
$.each() method, by calling
each() via jQuery and