jQuery API

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.

  • .clearQueue()

    Remove from the queue all items that have not yet been run.

  • jQuery.contains()

    Check to see if a DOM node is within another DOM node.

  • jQuery.data()

    Store arbitrary data associated with the specified element. Returns the value that was set.

  • .dequeue()

    Execute the next function on the queue for the matched elements.

  • jQuery.dequeue()

    Execute the next function on the queue for the matched element.

  • 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.globalEval()

    Execute some JavaScript code globally.

  • 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.isArray()

    Determine whether the argument is an array.

  • jQuery.isEmptyObject()

    Check to see if an object is empty (contains no properties).

  • jQuery.isFunction()

    Determine if the argument passed is a Javascript function object.

  • jQuery.isPlainObject()

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

  • jQuery.isWindow()

    Determine whether the argument is a window.

  • jQuery.isXMLDoc()

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

  • jQuery.makeArray()

    Convert an array-like object into a true JavaScript array.

  • 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.noop()

    An empty function.

  • jQuery.now()

    Return a number representing the current time.

  • jQuery.parseJSON

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

  • jQuery.parseXML()

    Parses a string into an XML document.

  • jQuery.proxy()

    Takes a function and returns a new one that will always have a particular context.

  • .queue()

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

  • jQuery.queue()

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

  • jQuery.removeData()

    Remove a previously-stored piece of data.

  • jQuery.support

    A collection of properties that represent the presence of different browser features or bugs.

  • 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.