Utilities

jQuery

Category: Utilities


jQuery.boxModel

Deprecated in jQuery 1.3 (see jQuery.support). States if the current page, in the user’s browser, is being rendered using the W3C CSS Box Model.

jQuery.browser

Contains flags for the useragent, read from navigator.userAgent. We recommend against using this property; please try to use feature detection instead (see jQuery.support). jQuery.browser may be moved to a plugin in a future release of jQuery.

jQuery.contains()

Check to see if a DOM element is a descendant of another DOM element.

jQuery.data()

Store arbitrary data associated with the specified element and/or return the value that was set.

jQuery.each()

A generic iterator function, which can be used to seamlessly iterate over both objects and arrays. Arrays and array-like objects with a length property (such as a function’s arguments object) are iterated by numeric index, from 0 to length-1. Other objects are iterated via their named properties.

jQuery.extend()

Merge the contents of two or more objects together into the first object.

jQuery.grep()

Finds the elements of an array which satisfy a filter function. The original array is not affected.

jQuery.inArray()

Search for a specified value within an array and return its index (or -1 if not found).

jQuery.isPlainObject()

Check to see if an object is a plain object (created using “{}” or “new Object”).

jQuery.isXMLDoc()

Check to see if a DOM node is within an XML document (or is an XML document).

jQuery.map()

Translate all items in an array or object to new array of items.

jQuery.merge()

Merge the contents of two arrays together into the first array.

jQuery.now()

Return a number representing the current time.

jQuery.parseJSON()

Takes a well-formed JSON string and returns the resulting JavaScript object.

jQuery.queue()

Show or manipulate the queue of functions to be executed on the matched element.

jQuery.support

A collection of properties that represent the presence of different browser features or bugs. Primarily intended for jQuery’s internal use; specific properties may be removed when they are no longer needed internally to improve page startup performance.

jQuery.trim()

Remove the whitespace from the beginning and end of a string.

jQuery.type()

Determine the internal JavaScript [[Class]] of an object.

jQuery.unique()

Sorts an array of DOM elements, in place, with the duplicates removed. Note that this only works on arrays of DOM elements, not strings or numbers.

.queue()

Show or manipulate the queue of functions to be executed on the matched elements.