O'Reilly logo

Learning jQuery - Fourth 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 previous categories, but are often very useful when writing scripts using jQuery.

Properties of the jQuery object

Property

Description

$.support

Returns an object containing properties indicating whether the browser supports various features and standards.

Arrays and objects

Function

Description

$.each(collection, callback)

Iterates over collection, executing callback for each item.

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

Modifies the object target by adding properties from the other supplied objects.

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

Filters array by using callback as a test.

$.makeArray(object)

Converts object into an array.

$.map(array, ...

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