O'Reilly logo

Learning jQuery Third Edition by Karl Swedberg, Jonathan Chaffer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Miscellaneous properties and functions

These utility methods do not fit neatly into the preceding categories, but are often very useful when writing scripts using jQuery.

Properties of the jQuery object

Property

Description

$.support

Return a map of properties indicating whether the browser supports various features and standards

Arrays and objects

Function

Description

$.each(collection, callback)

Iterate over collection, executing callback for each item

$.extend(target, addition, ...)

Modify the object target by adding properties from the other supplied objects

$.grep(array, callback, [invert])

Filter array by using callback as a test

$.makeArray(object)

Convert object into an array

$.map(array, callback)

Construct ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required