🕷️ Crawler Inspector

URL Lookup

Direct Parameter Lookup

Raw Queries and Responses

1. Shard Calculation

Query:
Response:
Calculated Shard: 53 (from laksa104)

2. Crawled Status Check

Query:
Response:

3. Robots.txt Check

Query:
Response:

4. Spam/Ban Check

Query:
Response:

5. Seen Status Check

ℹ️ Skipped - page is already crawled

đź“„
INDEXABLE
âś…
CRAWLED
3 hours ago
🤖
ROBOTS ALLOWED

Page Info Filters

FilterStatusConditionDetails
HTTP statusPASSdownload_http_code = 200HTTP 200
Age cutoffPASSdownload_stamp > now() - 6 MONTH0 months ago
History dropPASSisNull(history_drop_reason)No drop reason
Spam/banPASSfh_dont_index != 1 AND ml_spam_score = 0ml_spam_score=0
CanonicalPASSmeta_canonical IS NULL OR = '' OR = src_unparsedNot set

Page Details

PropertyValue
URLhttps://api.jquery.com/
Last Crawled2026-04-07 08:01:49 (3 hours ago)
First Indexed2013-08-11 00:25:03 (12 years ago)
HTTP Status Code200
Meta TitlejQuery API Documentation
Meta Descriptionnull
Meta Canonicalnull
Boilerpipe Text
jQuery API jQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers. If you're new to jQuery, we recommend that you check out the jQuery Learning Center . If you're updating to a newer version of jQuery, be sure to read the release notes published on our blog . If you're coming from a version prior 1.9, you should check out the 1.9 Upgrade Guide as well. Note that this is the API documentation for jQuery core. Other projects have API docs in other locations: jQuery UI API docs jQuery Mobile API docs QUnit API docs Create a new jQuery object with elements added to the set of matched elements. Add the previous set of elements on the stack to the current set, optionally filtered by a selector. Adds the specified class(es) to each element in the set of matched elements. Insert content, specified by the parameter, after each element in the set of matched elements. Register a handler to be called when Ajax requests complete. This is an AjaxEvent. Register a handler to be called when Ajax requests complete. This is an AjaxEvent. Register a handler to be called when Ajax requests complete with an error. This is an Ajax Event. Register a handler to be called when Ajax requests complete with an error. This is an Ajax Event. Attach a function to be executed before an Ajax request is sent. This is an Ajax Event. Attach a function to be executed before an Ajax request is sent. This is an Ajax Event. Register a handler to be called when the first Ajax request begins. This is an Ajax Event. Register a handler to be called when the first Ajax request begins. This is an Ajax Event. Register a handler to be called when all Ajax requests have completed. This is an Ajax Event. Register a handler to be called when all Ajax requests have completed. This is an Ajax Event. Attach a function to be executed whenever an Ajax request completes successfully. This is an Ajax Event. Attach a function to be executed whenever an Ajax request completes successfully. This is an Ajax Event. Selects all elements. Add the previous set of elements on the stack to the current set. Perform a custom animation of a set of CSS properties. Select all elements that are in the progress of an animation at the time the selector is run. Insert content, specified by the parameter, to the end of each element in the set of matched elements. Insert every element in the set of matched elements to the end of the target. Get the value of an attribute for the first element in the set of matched elements or set one or more attributes for every matched element. Selects elements that have the specified attribute with a value either equal to a given string or starting with that string followed by a hyphen (-). Selects elements that have the specified attribute with a value containing a given substring. Selects elements that have the specified attribute with a value containing a given word, delimited by spaces. Selects elements that have the specified attribute with a value ending exactly with a given string. The comparison is case sensitive. Selects elements that have the specified attribute with a value exactly equal to a certain value. Select elements that either don’t have the specified attribute, or do have the specified attribute but not with a certain value. Selects elements that have the specified attribute with a value beginning exactly with a given string. Insert content, specified by the parameter, before each element in the set of matched elements. Attach a handler to an event for the elements. Bind an event handler to the “blur” event, or trigger that event on an element. Bind an event handler to the “blur” event, or trigger that event on an element. Selects all button elements and elements of type button. Add a callback or a collection of callbacks to a callback list. Disable a callback list from doing anything more. Determine if the callbacks list has been disabled. Remove all of the callbacks from a list. Call all of the callbacks with the given arguments. Determine if the callbacks have already been called at least once. Call all callbacks in a list with the given context and arguments. Determine whether or not the list has any callbacks attached. If a callback is provided as an argument, determine whether it is in a list. Lock a callback list in its current state. Determine if the callbacks list has been locked. Remove a callback or a collection of callbacks from a callback list. Bind an event handler to the “change” event, or trigger that event on an element. Bind an event handler to the “change” event, or trigger that event on an element. Selects all elements of type checkbox. Matches all elements that are checked or selected. Selects all direct child elements specified by “child” of elements specified by “parent”. Get the children of each element in the set of matched elements, optionally filtered by a selector. Selects all elements with the given class. Remove from the queue all items that have not yet been run. Bind an event handler to the “click” event, or trigger that event on an element. Bind an event handler to the “click” event, or trigger that event on an element. Create a deep copy of the set of matched elements. For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree. Select all elements that contain the specified text. Get the children of each element in the set of matched elements, including text and comment nodes. The DOM node context originally passed to jQuery(); if none was passed then context will likely be the document. Bind an event handler to the “contextmenu” event, or trigger that event on an element. Bind an event handler to the “contextmenu” event, or trigger that event on an element. Get the value of a computed style property for the first element in the set of matched elements or set one or more CSS properties for every matched element. Store arbitrary data associated with the matched elements or return the value at the named data store for the first element in the set of matched elements. Bind an event handler to the “dblclick” event, or trigger that event on an element. Bind an event handler to the “dblclick” event, or trigger that event on an element. Add handlers to be called when the Deferred object is either resolved or rejected. Add handlers to be called when the Deferred object is rejected. Add handlers to be called when the Deferred object is resolved. Add handlers to be called when the Deferred object is rejected. Determine whether a Deferred object has been rejected. Determine whether a Deferred object has been resolved. Call the progressCallbacks on a Deferred object with the given args. Call the progressCallbacks on a Deferred object with the given context and args. Utility method to filter and/or chain Deferreds. Add handlers to be called when the Deferred object generates progress notifications. Return a Deferred’s Promise object. Reject a Deferred object and call any failCallbacks with the given args. Reject a Deferred object and call any failCallbacks with the given context and args. Resolve a Deferred object and call any doneCallbacks with the given args. Resolve a Deferred object and call any doneCallbacks with the given context and args. Determine the current state of a Deferred object. Add handlers to be called when the Deferred object is resolved, rejected, or still in progress. Set a timer to delay execution of subsequent items in the queue. Attach a handler to one or more events for all elements that match the selector, now or in the future, based on a specific set of root elements. Execute the next function on the queue for the matched elements. Selects all elements that are descendants of a given ancestor. Remove the set of matched elements from the DOM. Remove event handlers previously attached using .live() from the elements. Selects all elements that are disabled. Iterate over a jQuery object, executing a function for each matched element. Selects all elements with the given tag name. Remove all child nodes of the set of matched elements from the DOM. Select all elements that have no children (including text nodes). Selects all elements that are enabled. End the most recent filtering operation in the current chain and return the set of matched elements to its previous state. Reduce the set of matched elements to the one at the specified index. Select the element at index n within the matched set. Bind an event handler to the “error” event, or trigger that event on an element. Bind an event handler to the “error” event, or trigger that event on an element. Reduce the set of matched elements to the even ones in the set, numbered from zero. Selects even elements, zero-indexed. See also :odd. The current DOM element within the event bubbling phase. An optional object of data passed to an event method when the current executing handler is bound. The element where the currently-called jQuery event handler was attached. Returns whether event.preventDefault() was ever called on this event object. Returns whether event.stopImmediatePropagation() was ever called on this event object. Returns whether event.stopPropagation() was ever called on this event object. Indicates whether the META key was pressed when the event fired. The namespace specified when the event was triggered. The mouse position relative to the left edge of the document. The mouse position relative to the top edge of the document. If this method is called, the default action of the event will not be triggered. The other DOM element involved in the event, if any. The last value returned by an event handler that was triggered by this event, unless the value was undefined. Keeps the rest of the handlers from being executed and prevents the event from bubbling up the DOM tree. Prevents the event from bubbling up the DOM tree, preventing any parent handlers from being notified of the event. The DOM element that initiated the event. The difference in milliseconds between the time the browser created the event and January 1, 1970. Describes the nature of the event. For key or mouse events, this property indicates the specific key or button that was pressed. Display the matched elements by fading them to opaque. Hide the matched elements by fading them to transparent. Adjust the opacity of the matched elements. Display or hide the matched elements by animating their opacity. Selects all elements of type file. Reduce the set of matched elements to those that match the selector or pass the function’s test. Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element. Stop the currently-running animation, remove all queued animations, and complete all animations for the matched elements. Reduce the set of matched elements to the first in the set. Selects all elements that are the first child of their parent. Selects all elements that are the first among siblings of the same element name. Selects the first matched DOM element. Bind an event handler to the “focus” event, or trigger that event on an element. Selects element if it is currently focused. Bind an event handler to the “focus” event, or trigger that event on an element. Bind an event handler to the “focusin” event, or trigger that event on an element. Bind an event handler to the “focusin” event, or trigger that event on an element. Bind an event handler to the “focusout” event, or trigger that event on an element. Bind an event handler to the “focusout” event, or trigger that event on an element. Retrieve the DOM elements matched by the jQuery object. Select all elements at an index greater than index within the matched set. Reduce the set of matched elements to those that have a descendant that matches the selector or DOM element. Selects elements that have the specified attribute, with any value. Selects elements which contain at least one element that matches the specified selector. Determine whether any of the matched elements are assigned the given class. Selects all elements that are headers, like h1, h2, h3 and so on. Get the current computed height for the first element in the set of matched elements or set the height of every matched element. Selects all elements that are hidden. Hide the matched elements. Bind one or two handlers to the matched elements, to be executed when the mouse pointer enters and leaves the elements. Get the HTML contents of the first element in the set of matched elements or set the HTML contents of every matched element. Selects a single element with the given id attribute. Selects all elements of type image. Search for a given element from among the matched elements. Get the current computed inner height (including padding but not border) for the first element in the set of matched elements or set the inner height of every matched element. Get the current computed inner width (including padding but not border) for the first element in the set of matched elements or set the inner width of every matched element. Selects all input, textarea, select and button elements. Insert every element in the set of matched elements after the target. Insert every element in the set of matched elements before the target. Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments. Return a collection of matched elements either found in the DOM based on passed argument(s) or created by passing an HTML string. A string containing the jQuery version number. Perform an asynchronous HTTP (Ajax) request. Handle custom Ajax options or modify existing options before each request is sent and before they are processed by $.ajax(). Set default values for future Ajax requests. Its use is not recommended. Creates an object that handles the actual transmission of Ajax data. States if the current page, in the user’s browser, is being rendered using the W3C CSS Box Model. Contains flags for the useragent, read from navigator.userAgent. This property was removed in jQuery 1.9 and is available only through the jQuery.migrate plugin. Please try to use feature detection instead. A multi-purpose callbacks list object that provides a powerful way to manage callback lists. Check to see if a DOM element is a descendant of another DOM element. Hook directly into jQuery to override how particular CSS properties are retrieved or set, normalize CSS property naming, or create custom properties. An object containing all CSS properties that may be used without a unit. Prior to jQuery 4.0, the .css() method uses this object to see if it may append px to unitless values. Store arbitrary data associated with the specified element and/or return the value that was set. A factory function that returns a chainable utility object with methods to register multiple callbacks into callback queues, invoke callback queues, and relay the success or failure state of any synchronous or asynchronous function. Handle errors produced by Deferreds. Return an Error instance with a defined stack. Return an Error instance with a defined stack. Execute the next function on the queue for the matched element. 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. Takes a string and throws an exception containing it. Escapes any character that has a special meaning in a CSS selector. Merge the contents of two or more objects together into the first object. The jQuery selector engine, formerly known as Sizzle, is exposed under jQuery.find. This page describes all the APIs under jQuery.find. Merge the contents of an object onto the jQuery prototype to provide new jQuery instance methods. The rate (in milliseconds) at which animations fire. Globally disable all animations. Load data from the server using a HTTP GET request. Load JSON-encoded data from the server using a GET HTTP request. Load a JavaScript file from the server using a GET HTTP request, then execute it. Execute some JavaScript code globally. Finds the elements of an array which satisfy a filter function. The original array is not affected. Determine whether an element has any jQuery data associated with it. Holds or releases the execution of jQuery’s ready event. Modify and filter HTML strings passed through jQuery manipulation methods. Search for a specified value within an array and return its index (or -1 if not found). Determine whether the argument is an array. Check to see if an object is empty (contains no enumerable properties). Determines if its argument is callable as a function. Determines whether its argument represents a JavaScript number. Check to see if an object is a plain object (created using “{}” or “new Object”). Determine whether the argument is a window. Check to see if a DOM node is within an XML document (or is an XML document). Convert an array-like object into a true JavaScript array. Translate all items in an array or object to new array of items. Merge the contents of two arrays together into the first array. Relinquish jQuery’s control of the $ variable. An empty function. Return a number representing the current time. Create a serialized representation of an array, a plain object, or a jQuery object suitable for use in a URL query string or Ajax request. In case a jQuery object is passed, it should contain input elements with name/value properties. Parses a string into an array of DOM nodes. Takes a well-formed JSON string and returns the resulting JavaScript value. Parses a string into an XML document. Send data to the server using a HTTP POST request. Takes a function and returns a new one that will always have a particular context. Show or manipulate the queue of functions to be executed on the matched element. A Promise-like object (or “thenable”) that resolves when the document is ready. Handles errors thrown synchronously in functions wrapped in jQuery(). Remove a previously-stored piece of data. Creates an object containing a set of properties ready to be used in the definition of custom animations. Creates a new copy of jQuery whose properties and methods can be modified without affecting the original jQuery object. A collection of properties that represent the presence of different browser features or bugs; intended for jQuery’s internal use. Remove the whitespace from the beginning and end of a string. Determine the internal JavaScript [[Class]] of an object. 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. Sorts an array or an array-like object of DOM elements, in place, with the duplicates removed. Note that this only works on arrays/array-likes of DOM elements, not strings or numbers. Provides a way to execute callback functions based on zero or more Thenable objects, usually Deferred objects that represent asynchronous events. Bind an event handler to the “keydown” event, or trigger that event on an element. Bind an event handler to the “keydown” event, or trigger that event on an element. Bind an event handler to the “keypress” event, or trigger that event on an element. Bind an event handler to the “keypress” event, or trigger that event on an element. Bind an event handler to the “keyup” event, or trigger that event on an element. Bind an event handler to the “keyup” event, or trigger that event on an element. Selects all elements of the specified language. Reduce the set of matched elements to the final one in the set. Selects all elements that are the last child of their parent. Selects all elements that are the last among siblings of the same element name. Selects the last matched element. The number of elements in the jQuery object. Attach an event handler for all elements which match the current selector, now and in the future. Load data from the server and place the returned HTML into the matched elements. Bind an event handler to the “load” event, or trigger that event on an element. Bind an event handler to the “load” event, or trigger that event on an element. Select all elements at an index less than index within the matched set. Pass each element in the current matched set through a function, producing a new jQuery object containing the return values. Bind an event handler to the “mousedown” event, or trigger that event on an element. Bind an event handler to the “mousedown” event, or trigger that event on an element. Bind an event handler to be fired when the mouse enters an element, or trigger that handler on an element. Bind an event handler to the “mouseenter” event, or trigger that event on an element. Bind an event handler to be fired when the mouse leaves an element, or trigger that handler on an element. Bind an event handler to the “mouseleave” event, or trigger that event on an element. Bind an event handler to the “mousemove” event, or trigger that event on an element. Bind an event handler to the “mousemove” event, or trigger that event on an element. Bind an event handler to the “mouseout” event, or trigger that event on an element. Bind an event handler to the “mouseout” event, or trigger that event on an element. Bind an event handler to the “mouseover” event, or trigger that event on an element. Bind an event handler to the “mouseover” event, or trigger that event on an element. Bind an event handler to the “mouseup” event, or trigger that event on an element. Bind an event handler to the “mouseup” event, or trigger that event on an element. Matches elements that match all of the specified attribute filters. Selects the combined results of all the specified selectors. Get the immediately following sibling of each element in the set of matched elements. If a selector is provided, it retrieves the next sibling only if it matches that selector. Selects all next elements matching “next” that are immediately preceded by a sibling “prev”. Selects all sibling elements that follow after the “prev” element, have the same parent, and match the filtering “siblings” selector. Get all following siblings of each element in the set of matched elements, optionally filtered by a selector. Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed. Remove elements from the set of matched elements. Selects all elements that do not match the given selector. Selects all elements that are the nth-child of their parent. Selects all elements that are the nth-child of their parent, counting from the last element to the first. Selects all the elements that are the nth-child of their parent in relation to siblings with the same element name, counting from the last element to the first. Selects all elements that are the nth child of their parent in relation to siblings with the same element name. Reduce the set of matched elements to the odd ones in the set, numbered from zero. Selects odd elements, zero-indexed. See also :even. Remove an event handler. Get the current coordinates of the first element, or set the coordinates of every element, in the set of matched elements, relative to the document. Get the closest ancestor element that is positioned. Attach an event handler function for one or more events to the selected elements. Attach a handler to an event for the elements. The handler is executed at most once per element per event type. Selects all elements that are the only child of their parent. Selects all elements that have no siblings with the same element name. Get the current computed outer height (including padding, border, and optionally margin) for the first element in the set of matched elements or set the outer height of every matched element. Get the current computed outer width (including padding, border, and optionally margin) for the first element in the set of matched elements or set the outer width of every matched element. Get the parent of each element in the current set of matched elements, optionally filtered by a selector. Select all elements that have at least one child node (either an element or text). Get the ancestors of each element in the current set of matched elements, optionally filtered by a selector. Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object. Selects all elements of type password. Get the current coordinates of the first element in the set of matched elements, relative to the offset parent. Insert content, specified by the parameter, to the beginning of each element in the set of matched elements. Insert every element in the set of matched elements to the beginning of the target. Get the immediately preceding sibling of each element in the set of matched elements. If a selector is provided, it retrieves the previous sibling only if it matches that selector. Get all preceding siblings of each element in the set of matched elements, optionally filtered by a selector, in the reverse document order. Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object. Return a Promise object to observe when all actions of a certain type bound to the collection, queued or not, have finished. Get the value of a property for the first element in the set of matched elements or set one or more properties for every matched element. Add a collection of DOM elements onto the jQuery stack. Show or manipulate the queue of functions to be executed on the matched elements. Selects all elements of type radio. Specify a function to execute when the DOM is fully loaded. Remove the set of matched elements from the DOM. Remove an attribute from each element in the set of matched elements. Remove a single class, multiple classes, or all classes from each element in the set of matched elements. Remove a previously-stored piece of data. Remove a property for the set of matched elements. Replace each target element with the set of matched elements. Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed. Selects all elements of type reset. Bind an event handler to the “resize” event, or trigger that event on an element. Bind an event handler to the “resize” event, or trigger that event on an element. Selects the element that is the root of the document. Bind an event handler to the “scroll” event, or trigger that event on an element. Bind an event handler to the “scroll” event, or trigger that event on an element. Get the current horizontal position of the scroll bar for the first element in the set of matched elements or set the horizontal position of the scroll bar for every matched element. Get the current vertical position of the scroll bar for the first element in the set of matched elements or set the vertical position of the scroll bar for every matched element. Bind an event handler to the “select” event, or trigger that event on an element. Bind an event handler to the “select” event, or trigger that event on an element. Selects all elements that are selected. A selector representing selector passed to jQuery(), if any, when creating the original set. Encode a set of form elements as a string for submission. Encode a set of form elements as an array of names and values. Display the matched elements. Get the siblings of each element in the set of matched elements, optionally filtered by a selector. Return the number of elements in the jQuery object. Reduce the set of matched elements to a subset specified by a range of indices. Display the matched elements with a sliding motion. Display or hide the matched elements with a sliding motion. Hide the matched elements with a sliding motion. Stop the currently-running animation on the matched elements. Bind an event handler to the “submit” event, or trigger that event on an element. Selects all elements of type submit. Bind an event handler to the “submit” event, or trigger that event on an element. Selects the target element indicated by the fragment identifier of the document’s URI. Get the combined text contents of each element in the set of matched elements, including their descendants, or set the text contents of the matched elements. Selects all input elements of type text. Retrieve all the elements contained in the jQuery set, as an array. Display or hide the matched elements. Bind two or more handlers to the matched elements, to be executed on alternate clicks. Add or remove one or more classes from each element in the set of matched elements, depending on either the class’s presence or the value of the state argument. Execute all handlers and behaviors attached to the matched elements for the given event type. Execute all handlers attached to an element for an event. Remove a previously-attached event handler from the elements. Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements. Sorts a jQuery object of DOM elements, in place, with the duplicates removed. Note that this only works on jQuery objects consisting of DOM elements, not strings or numbers. Bind an event handler to the “unload” event, or trigger that event on an element. Bind an event handler to the “unload” event, or trigger that event on an element. Remove the parents of the set of matched elements from the DOM, leaving the matched elements in their place. Get the current value of the first element in the set of matched elements or set the value of every matched element. Selects all elements that are visible. Get the current computed width for the first element in the set of matched elements or set the width of every matched element. Wrap an HTML structure around each element in the set of matched elements. Wrap an HTML structure around all elements in the set of matched elements. Wrap an HTML structure around the content of each element in the set of matched elements.
Markdown
jQuery 4.0 has been released! jQuery 3.x will now only receive critical updates. Find support for earlier versions at [herodevs.com](https://www.herodevs.com/support/jquery-nes). - [jQuery](https://jquery.com/ "jQuery") - [jQuery UI](https://jqueryui.com/ "jQuery UI") - [jQuery Mobile](https://jquerymobile.com/ "jQuery Mobile") - [Sizzle](https://sizzlejs.com/ "Sizzle") - [QUnit](https://qunitjs.com/ "QUnit") - [Plugins](https://plugins.jquery.com/) - [Contribute](https://contribute.jquery.org/) - [CLA](https://cla.openjsf.org/) - [Style Guides](https://contribute.jquery.org/style-guide/) - [Bug Triage](https://contribute.jquery.org/triage/) - [Code](https://contribute.jquery.org/code/) - [Documentation](https://contribute.jquery.org/documentation/) - [Web Sites](https://contribute.jquery.org/web-sites/) - [Events](https://events.jquery.org/) - [Support](https://jquery.com/support/) - [Learning Center](https://learn.jquery.com/) - [Chat](https://jquery.com/support/) - [Stack Overflow](https://stackoverflow.com/tags/jquery/info) - [Report a bug](https://contribute.jquery.org/bug-reports/) - [OpenJS Foundation](https://openjsf.org/) - [Join](https://openjsf.org/join) - [Members](https://openjsf.org/members) - [jQuery Team](https://jquery.com/team) - [Governance](https://openjsf.org/governance) - [Conduct](https://code-of-conduct.openjsf.org/) - [Projects](https://openjsf.org/projects) ## [jQuery API Documentation](https://jquery.com/ "jQuery API Documentation") Navigation - [Download](https://jquery.com/download/) - [API Documentation](https://api.jquery.com/) - [Blog](https://blog.jquery.com/) - [Plugins](https://plugins.jquery.com/) - [Browser Support](https://jquery.com/browser-support/) - [Version Support](https://jquery.com/support/) # jQuery API jQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers. If you're new to jQuery, we recommend that you check out the [jQuery Learning Center](https://learn.jquery.com/). If you're updating to a newer version of jQuery, be sure to read the release notes published on [our blog](https://blog.jquery.com/). If you're coming from a version prior 1.9, you should check out the [1\.9 Upgrade Guide](https://jquery.com/upgrade-guide/1.9/) as well. Note that this is the API documentation for jQuery core. Other projects have API docs in other locations: - [jQuery UI API docs](https://api.jqueryui.com/) - [jQuery Mobile API docs](https://api.jquerymobile.com/) - [QUnit API docs](https://api.qunitjs.com/) *** [Traversing](https://api.jquery.com/category/traversing/) \> [Miscellaneous Traversing](https://api.jquery.com/category/traversing/miscellaneous-traversal/) # [.add()](https://api.jquery.com/add/ "Permalink to .add()") Create a new jQuery object with elements added to the set of matched elements. [Traversing](https://api.jquery.com/category/traversing/) \> [Miscellaneous Traversing](https://api.jquery.com/category/traversing/miscellaneous-traversal/) # [.addBack()](https://api.jquery.com/addBack/ "Permalink to .addBack()") Add the previous set of elements on the stack to the current set, optionally filtered by a selector. [Attributes](https://api.jquery.com/category/attributes/) \| [Manipulation](https://api.jquery.com/category/manipulation/) \> [Class Attribute](https://api.jquery.com/category/manipulation/class-attribute/) \| [CSS](https://api.jquery.com/category/css/) # [.addClass()](https://api.jquery.com/addClass/ "Permalink to .addClass()") Adds the specified class(es) to each element in the set of matched elements. [Manipulation](https://api.jquery.com/category/manipulation/) \> [DOM Insertion, Outside](https://api.jquery.com/category/manipulation/dom-insertion-outside/) # [.after()](https://api.jquery.com/after/ "Permalink to .after()") Insert content, specified by the parameter, after each element in the set of matched elements. [Ajax](https://api.jquery.com/category/ajax/) \> [Global Ajax Event Handlers](https://api.jquery.com/category/ajax/global-ajax-event-handlers/) # [ajaxComplete event](https://api.jquery.com/ajaxComplete/ "Permalink to ajaxComplete event") Register a handler to be called when Ajax requests complete. This is an AjaxEvent. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.5](https://api.jquery.com/category/deprecated/deprecated-3.5/) \| [Ajax](https://api.jquery.com/category/ajax/) \> [Global Ajax Event Handlers](https://api.jquery.com/category/ajax/global-ajax-event-handlers/) # [.ajaxComplete()](https://api.jquery.com/ajaxComplete-shorthand/ "Permalink to .ajaxComplete()") Register a handler to be called when Ajax requests complete. This is an AjaxEvent. [Ajax](https://api.jquery.com/category/ajax/) \> [Global Ajax Event Handlers](https://api.jquery.com/category/ajax/global-ajax-event-handlers/) # [ajaxError event](https://api.jquery.com/ajaxError/ "Permalink to ajaxError event") Register a handler to be called when Ajax requests complete with an error. This is an Ajax Event. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.5](https://api.jquery.com/category/deprecated/deprecated-3.5/) \| [Ajax](https://api.jquery.com/category/ajax/) \> [Global Ajax Event Handlers](https://api.jquery.com/category/ajax/global-ajax-event-handlers/) # [.ajaxError()](https://api.jquery.com/ajaxError-shorthand/ "Permalink to .ajaxError()") Register a handler to be called when Ajax requests complete with an error. This is an Ajax Event. [Ajax](https://api.jquery.com/category/ajax/) \> [Global Ajax Event Handlers](https://api.jquery.com/category/ajax/global-ajax-event-handlers/) # [ajaxSend event](https://api.jquery.com/ajaxSend/ "Permalink to ajaxSend event") Attach a function to be executed before an Ajax request is sent. This is an Ajax Event. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.5](https://api.jquery.com/category/deprecated/deprecated-3.5/) \| [Ajax](https://api.jquery.com/category/ajax/) \> [Global Ajax Event Handlers](https://api.jquery.com/category/ajax/global-ajax-event-handlers/) # [.ajaxSend()](https://api.jquery.com/ajaxSend-shorthand/ "Permalink to .ajaxSend()") Attach a function to be executed before an Ajax request is sent. This is an Ajax Event. [Ajax](https://api.jquery.com/category/ajax/) \> [Global Ajax Event Handlers](https://api.jquery.com/category/ajax/global-ajax-event-handlers/) # [ajaxStart event](https://api.jquery.com/ajaxStart/ "Permalink to ajaxStart event") Register a handler to be called when the first Ajax request begins. This is an Ajax Event. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.5](https://api.jquery.com/category/deprecated/deprecated-3.5/) \| [Ajax](https://api.jquery.com/category/ajax/) \> [Global Ajax Event Handlers](https://api.jquery.com/category/ajax/global-ajax-event-handlers/) # [.ajaxStart()](https://api.jquery.com/ajaxStart-shorthand/ "Permalink to .ajaxStart()") Register a handler to be called when the first Ajax request begins. This is an Ajax Event. [Ajax](https://api.jquery.com/category/ajax/) \> [Global Ajax Event Handlers](https://api.jquery.com/category/ajax/global-ajax-event-handlers/) # [ajaxStop event](https://api.jquery.com/ajaxStop/ "Permalink to ajaxStop event") Register a handler to be called when all Ajax requests have completed. This is an Ajax Event. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.5](https://api.jquery.com/category/deprecated/deprecated-3.5/) \| [Ajax](https://api.jquery.com/category/ajax/) \> [Global Ajax Event Handlers](https://api.jquery.com/category/ajax/global-ajax-event-handlers/) # [.ajaxStop()](https://api.jquery.com/ajaxStop-shorthand/ "Permalink to .ajaxStop()") Register a handler to be called when all Ajax requests have completed. This is an Ajax Event. [Ajax](https://api.jquery.com/category/ajax/) \> [Global Ajax Event Handlers](https://api.jquery.com/category/ajax/global-ajax-event-handlers/) # [ajaxSuccess event](https://api.jquery.com/ajaxSuccess/ "Permalink to ajaxSuccess event") Attach a function to be executed whenever an Ajax request completes successfully. This is an Ajax Event. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.5](https://api.jquery.com/category/deprecated/deprecated-3.5/) \| [Ajax](https://api.jquery.com/category/ajax/) \> [Global Ajax Event Handlers](https://api.jquery.com/category/ajax/global-ajax-event-handlers/) # [.ajaxSuccess()](https://api.jquery.com/ajaxSuccess-shorthand/ "Permalink to .ajaxSuccess()") Attach a function to be executed whenever an Ajax request completes successfully. This is an Ajax Event. [Selectors](https://api.jquery.com/category/selectors/) \> [Basic](https://api.jquery.com/category/selectors/basic-css-selectors/) # [All Selector (“\*”)](https://api.jquery.com/all-selector/ "Permalink to All Selector (“*”)") Selects all elements. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 1.8](https://api.jquery.com/category/deprecated/deprecated-1.8/) \| [Traversing](https://api.jquery.com/category/traversing/) \> [Miscellaneous Traversing](https://api.jquery.com/category/traversing/miscellaneous-traversal/) \| [Removed](https://api.jquery.com/category/removed/) # [.andSelf()](https://api.jquery.com/andSelf/ "Permalink to .andSelf()") Add the previous set of elements on the stack to the current set. [Effects](https://api.jquery.com/category/effects/) \> [Custom](https://api.jquery.com/category/effects/custom-effects/) # [.animate()](https://api.jquery.com/animate/ "Permalink to .animate()") Perform a custom animation of a set of CSS properties. [Selectors](https://api.jquery.com/category/selectors/) \> [Basic Filter](https://api.jquery.com/category/selectors/basic-filter-selectors/) \| [Selectors](https://api.jquery.com/category/selectors/) \> [jQuery Extensions](https://api.jquery.com/category/selectors/jquery-selector-extensions/) # [:animated Selector](https://api.jquery.com/animated-selector/ "Permalink to :animated Selector") Select all elements that are in the progress of an animation at the time the selector is run. [Manipulation](https://api.jquery.com/category/manipulation/) \> [DOM Insertion, Inside](https://api.jquery.com/category/manipulation/dom-insertion-inside/) # [.append()](https://api.jquery.com/append/ "Permalink to .append()") Insert content, specified by the parameter, to the end of each element in the set of matched elements. [Manipulation](https://api.jquery.com/category/manipulation/) \> [DOM Insertion, Inside](https://api.jquery.com/category/manipulation/dom-insertion-inside/) # [.appendTo()](https://api.jquery.com/appendTo/ "Permalink to .appendTo()") Insert every element in the set of matched elements to the end of the target. [Attributes](https://api.jquery.com/category/attributes/) \| [Manipulation](https://api.jquery.com/category/manipulation/) \> [General Attributes](https://api.jquery.com/category/manipulation/general-attributes/) # [.attr()](https://api.jquery.com/attr/ "Permalink to .attr()") Get the value of an attribute for the first element in the set of matched elements or set one or more attributes for every matched element. [Selectors](https://api.jquery.com/category/selectors/) \> [Attribute](https://api.jquery.com/category/selectors/attribute-selectors/) # [Attribute Contains Prefix Selector \[name\|=”value”\]](https://api.jquery.com/attribute-contains-prefix-selector/ "Permalink to Attribute Contains Prefix Selector [name|=”value”]") Selects elements that have the specified attribute with a value either equal to a given string or starting with that string followed by a hyphen (-). [Selectors](https://api.jquery.com/category/selectors/) \> [Attribute](https://api.jquery.com/category/selectors/attribute-selectors/) # [Attribute Contains Selector \[name\*=”value”\]](https://api.jquery.com/attribute-contains-selector/ "Permalink to Attribute Contains Selector [name*=”value”]") Selects elements that have the specified attribute with a value containing a given substring. [Selectors](https://api.jquery.com/category/selectors/) \> [Attribute](https://api.jquery.com/category/selectors/attribute-selectors/) # [Attribute Contains Word Selector \[name~=”value”\]](https://api.jquery.com/attribute-contains-word-selector/ "Permalink to Attribute Contains Word Selector [name~=”value”]") Selects elements that have the specified attribute with a value containing a given word, delimited by spaces. [Selectors](https://api.jquery.com/category/selectors/) \> [Attribute](https://api.jquery.com/category/selectors/attribute-selectors/) # [Attribute Ends With Selector \[name\$=”value”\]](https://api.jquery.com/attribute-ends-with-selector/ "Permalink to Attribute Ends With Selector [name$=”value”]") Selects elements that have the specified attribute with a value ending exactly with a given string. The comparison is case sensitive. [Selectors](https://api.jquery.com/category/selectors/) \> [Attribute](https://api.jquery.com/category/selectors/attribute-selectors/) # [Attribute Equals Selector \[name=”value”\]](https://api.jquery.com/attribute-equals-selector/ "Permalink to Attribute Equals Selector [name=”value”]") Selects elements that have the specified attribute with a value exactly equal to a certain value. [Selectors](https://api.jquery.com/category/selectors/) \> [Attribute](https://api.jquery.com/category/selectors/attribute-selectors/) \| [Selectors](https://api.jquery.com/category/selectors/) \> [jQuery Extensions](https://api.jquery.com/category/selectors/jquery-selector-extensions/) # [Attribute Not Equal Selector \[name!=”value”\]](https://api.jquery.com/attribute-not-equal-selector/ "Permalink to Attribute Not Equal Selector [name!=”value”]") Select elements that either don’t have the specified attribute, or do have the specified attribute but not with a certain value. [Selectors](https://api.jquery.com/category/selectors/) \> [Attribute](https://api.jquery.com/category/selectors/attribute-selectors/) # [Attribute Starts With Selector \[name^=”value”\]](https://api.jquery.com/attribute-starts-with-selector/ "Permalink to Attribute Starts With Selector [name^=”value”]") Selects elements that have the specified attribute with a value beginning exactly with a given string. [Manipulation](https://api.jquery.com/category/manipulation/) \> [DOM Insertion, Outside](https://api.jquery.com/category/manipulation/dom-insertion-outside/) # [.before()](https://api.jquery.com/before/ "Permalink to .before()") Insert content, specified by the parameter, before each element in the set of matched elements. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.0](https://api.jquery.com/category/deprecated/deprecated-3.0/) \| [Events](https://api.jquery.com/category/events/) \> [Event Handler Attachment](https://api.jquery.com/category/events/event-handler-attachment/) # [.bind()](https://api.jquery.com/bind/ "Permalink to .bind()") Attach a handler to an event for the elements. [Events](https://api.jquery.com/category/events/) \> [Form Events](https://api.jquery.com/category/events/form-events/) \| [Forms](https://api.jquery.com/category/forms/) # [blur event](https://api.jquery.com/blur/ "Permalink to blur event") Bind an event handler to the “blur” event, or trigger that event on an element. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.3](https://api.jquery.com/category/deprecated/deprecated-3.3/) \| [Events](https://api.jquery.com/category/events/) \> [Form Events](https://api.jquery.com/category/events/form-events/) \| [Forms](https://api.jquery.com/category/forms/) # [.blur()](https://api.jquery.com/blur-shorthand/ "Permalink to .blur()") Bind an event handler to the “blur” event, or trigger that event on an element. [Selectors](https://api.jquery.com/category/selectors/) \> [Form](https://api.jquery.com/category/selectors/form-selectors/) \| [Selectors](https://api.jquery.com/category/selectors/) \> [jQuery Extensions](https://api.jquery.com/category/selectors/jquery-selector-extensions/) # [:button Selector](https://api.jquery.com/button-selector/ "Permalink to :button Selector") Selects all button elements and elements of type button. [Callbacks Object](https://api.jquery.com/category/callbacks-object/) # [callbacks.add()](https://api.jquery.com/callbacks.add/ "Permalink to callbacks.add()") Add a callback or a collection of callbacks to a callback list. [Callbacks Object](https://api.jquery.com/category/callbacks-object/) # [callbacks.disable()](https://api.jquery.com/callbacks.disable/ "Permalink to callbacks.disable()") Disable a callback list from doing anything more. [Callbacks Object](https://api.jquery.com/category/callbacks-object/) # [callbacks.disabled()](https://api.jquery.com/callbacks.disabled/ "Permalink to callbacks.disabled()") Determine if the callbacks list has been disabled. [Callbacks Object](https://api.jquery.com/category/callbacks-object/) # [callbacks.empty()](https://api.jquery.com/callbacks.empty/ "Permalink to callbacks.empty()") Remove all of the callbacks from a list. [Callbacks Object](https://api.jquery.com/category/callbacks-object/) # [callbacks.fire()](https://api.jquery.com/callbacks.fire/ "Permalink to callbacks.fire()") Call all of the callbacks with the given arguments. [Callbacks Object](https://api.jquery.com/category/callbacks-object/) # [callbacks.fired()](https://api.jquery.com/callbacks.fired/ "Permalink to callbacks.fired()") Determine if the callbacks have already been called at least once. [Callbacks Object](https://api.jquery.com/category/callbacks-object/) # [callbacks.fireWith()](https://api.jquery.com/callbacks.fireWith/ "Permalink to callbacks.fireWith()") Call all callbacks in a list with the given context and arguments. [Callbacks Object](https://api.jquery.com/category/callbacks-object/) # [callbacks.has()](https://api.jquery.com/callbacks.has/ "Permalink to callbacks.has()") Determine whether or not the list has any callbacks attached. If a callback is provided as an argument, determine whether it is in a list. [Callbacks Object](https://api.jquery.com/category/callbacks-object/) # [callbacks.lock()](https://api.jquery.com/callbacks.lock/ "Permalink to callbacks.lock()") Lock a callback list in its current state. [Callbacks Object](https://api.jquery.com/category/callbacks-object/) # [callbacks.locked()](https://api.jquery.com/callbacks.locked/ "Permalink to callbacks.locked()") Determine if the callbacks list has been locked. [Callbacks Object](https://api.jquery.com/category/callbacks-object/) # [callbacks.remove()](https://api.jquery.com/callbacks.remove/ "Permalink to callbacks.remove()") Remove a callback or a collection of callbacks from a callback list. [Events](https://api.jquery.com/category/events/) \> [Form Events](https://api.jquery.com/category/events/form-events/) \| [Forms](https://api.jquery.com/category/forms/) # [change event](https://api.jquery.com/change/ "Permalink to change event") Bind an event handler to the “change” event, or trigger that event on an element. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.3](https://api.jquery.com/category/deprecated/deprecated-3.3/) \| [Events](https://api.jquery.com/category/events/) \> [Form Events](https://api.jquery.com/category/events/form-events/) # [.change()](https://api.jquery.com/change-shorthand/ "Permalink to .change()") Bind an event handler to the “change” event, or trigger that event on an element. [Selectors](https://api.jquery.com/category/selectors/) \> [Form](https://api.jquery.com/category/selectors/form-selectors/) \| [Selectors](https://api.jquery.com/category/selectors/) \> [jQuery Extensions](https://api.jquery.com/category/selectors/jquery-selector-extensions/) # [:checkbox Selector](https://api.jquery.com/checkbox-selector/ "Permalink to :checkbox Selector") Selects all elements of type checkbox. [Selectors](https://api.jquery.com/category/selectors/) \> [Form](https://api.jquery.com/category/selectors/form-selectors/) # [:checked Selector](https://api.jquery.com/checked-selector/ "Permalink to :checked Selector") Matches all elements that are checked or selected. [Selectors](https://api.jquery.com/category/selectors/) \> [Hierarchy](https://api.jquery.com/category/selectors/hierarchy-selectors/) # [Child Selector (“parent \> child”)](https://api.jquery.com/child-selector/ "Permalink to Child Selector (“parent > child”)") Selects all direct child elements specified by “child” of elements specified by “parent”. [Traversing](https://api.jquery.com/category/traversing/) \> [Tree Traversal](https://api.jquery.com/category/traversing/tree-traversal/) # [.children()](https://api.jquery.com/children/ "Permalink to .children()") Get the children of each element in the set of matched elements, optionally filtered by a selector. [Selectors](https://api.jquery.com/category/selectors/) \> [Basic](https://api.jquery.com/category/selectors/basic-css-selectors/) # [Class Selector (“.class”)](https://api.jquery.com/class-selector/ "Permalink to Class Selector (“.class”)") Selects all elements with the given class. [Effects](https://api.jquery.com/category/effects/) \> [Custom](https://api.jquery.com/category/effects/custom-effects/) \| [Data](https://api.jquery.com/category/data/) \| [Utilities](https://api.jquery.com/category/utilities/) # [.clearQueue()](https://api.jquery.com/clearQueue/ "Permalink to .clearQueue()") Remove from the queue all items that have not yet been run. [Events](https://api.jquery.com/category/events/) \> [Mouse Events](https://api.jquery.com/category/events/mouse-events/) # [click event](https://api.jquery.com/click/ "Permalink to click event") Bind an event handler to the “click” event, or trigger that event on an element. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.3](https://api.jquery.com/category/deprecated/deprecated-3.3/) \| [Events](https://api.jquery.com/category/events/) \> [Mouse Events](https://api.jquery.com/category/events/mouse-events/) # [.click()](https://api.jquery.com/click-shorthand/ "Permalink to .click()") Bind an event handler to the “click” event, or trigger that event on an element. [Manipulation](https://api.jquery.com/category/manipulation/) \> [Copying](https://api.jquery.com/category/manipulation/copying/) # [.clone()](https://api.jquery.com/clone/ "Permalink to .clone()") Create a deep copy of the set of matched elements. [Traversing](https://api.jquery.com/category/traversing/) \> [Tree Traversal](https://api.jquery.com/category/traversing/tree-traversal/) # [.closest()](https://api.jquery.com/closest/ "Permalink to .closest()") For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree. [Selectors](https://api.jquery.com/category/selectors/) \> [Content Filter](https://api.jquery.com/category/selectors/content-filter-selector/) \| [Selectors](https://api.jquery.com/category/selectors/) \> [jQuery Extensions](https://api.jquery.com/category/selectors/jquery-selector-extensions/) # [:contains() Selector](https://api.jquery.com/contains-selector/ "Permalink to :contains() Selector") Select all elements that contain the specified text. [Traversing](https://api.jquery.com/category/traversing/) \> [Miscellaneous Traversing](https://api.jquery.com/category/traversing/miscellaneous-traversal/) # [.contents()](https://api.jquery.com/contents/ "Permalink to .contents()") Get the children of each element in the set of matched elements, including text and comment nodes. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 1.10 & 2.0](https://api.jquery.com/category/deprecated/deprecated-1.10-and-2.0/) \| [Internals](https://api.jquery.com/category/internals/) \| [Properties](https://api.jquery.com/category/properties/) \> [Properties of jQuery Object Instances](https://api.jquery.com/category/properties/jquery-object-instance-properties/) \| [Removed](https://api.jquery.com/category/removed/) # [.context](https://api.jquery.com/context/ "Permalink to .context") The DOM node context originally passed to jQuery(); if none was passed then context will likely be the document. [Events](https://api.jquery.com/category/events/) \> [Mouse Events](https://api.jquery.com/category/events/mouse-events/) # [contextmenu event](https://api.jquery.com/contextmenu/ "Permalink to contextmenu event") Bind an event handler to the “contextmenu” event, or trigger that event on an element. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.3](https://api.jquery.com/category/deprecated/deprecated-3.3/) \| [Events](https://api.jquery.com/category/events/) \> [Mouse Events](https://api.jquery.com/category/events/mouse-events/) # [.contextmenu()](https://api.jquery.com/contextmenu-shorthand/ "Permalink to .contextmenu()") Bind an event handler to the “contextmenu” event, or trigger that event on an element. [CSS](https://api.jquery.com/category/css/) \| [Manipulation](https://api.jquery.com/category/manipulation/) \> [Style Properties](https://api.jquery.com/category/manipulation/style-properties/) # [.css()](https://api.jquery.com/css/ "Permalink to .css()") Get the value of a computed style property for the first element in the set of matched elements or set one or more CSS properties for every matched element. [Data](https://api.jquery.com/category/data/) \| [Miscellaneous](https://api.jquery.com/category/miscellaneous/) \> [Data Storage](https://api.jquery.com/category/miscellaneous/data-storage/) # [.data()](https://api.jquery.com/data/ "Permalink to .data()") Store arbitrary data associated with the matched elements or return the value at the named data store for the first element in the set of matched elements. [Events](https://api.jquery.com/category/events/) \> [Mouse Events](https://api.jquery.com/category/events/mouse-events/) # [dblclick event](https://api.jquery.com/dblclick/ "Permalink to dblclick event") Bind an event handler to the “dblclick” event, or trigger that event on an element. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.3](https://api.jquery.com/category/deprecated/deprecated-3.3/) \| [Events](https://api.jquery.com/category/events/) \> [Mouse Events](https://api.jquery.com/category/events/mouse-events/) # [.dblclick()](https://api.jquery.com/dblclick-shorthand/ "Permalink to .dblclick()") Bind an event handler to the “dblclick” event, or trigger that event on an element. [Deferred Object](https://api.jquery.com/category/deferred-object/) # [deferred.always()](https://api.jquery.com/deferred.always/ "Permalink to deferred.always()") Add handlers to be called when the Deferred object is either resolved or rejected. [Deferred Object](https://api.jquery.com/category/deferred-object/) # [deferred.catch()](https://api.jquery.com/deferred.catch/ "Permalink to deferred.catch()") Add handlers to be called when the Deferred object is rejected. [Deferred Object](https://api.jquery.com/category/deferred-object/) # [deferred.done()](https://api.jquery.com/deferred.done/ "Permalink to deferred.done()") Add handlers to be called when the Deferred object is resolved. [Deferred Object](https://api.jquery.com/category/deferred-object/) # [deferred.fail()](https://api.jquery.com/deferred.fail/ "Permalink to deferred.fail()") Add handlers to be called when the Deferred object is rejected. [Deferred Object](https://api.jquery.com/category/deferred-object/) \| [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 1.7](https://api.jquery.com/category/deprecated/deprecated-1.7/) \| [Removed](https://api.jquery.com/category/removed/) # [deferred.isRejected()](https://api.jquery.com/deferred.isRejected/ "Permalink to deferred.isRejected()") Determine whether a Deferred object has been rejected. [Deferred Object](https://api.jquery.com/category/deferred-object/) \| [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 1.7](https://api.jquery.com/category/deprecated/deprecated-1.7/) \| [Removed](https://api.jquery.com/category/removed/) # [deferred.isResolved()](https://api.jquery.com/deferred.isResolved/ "Permalink to deferred.isResolved()") Determine whether a Deferred object has been resolved. [Deferred Object](https://api.jquery.com/category/deferred-object/) # [deferred.notify()](https://api.jquery.com/deferred.notify/ "Permalink to deferred.notify()") Call the progressCallbacks on a Deferred object with the given args. [Deferred Object](https://api.jquery.com/category/deferred-object/) # [deferred.notifyWith()](https://api.jquery.com/deferred.notifyWith/ "Permalink to deferred.notifyWith()") Call the progressCallbacks on a Deferred object with the given context and args. [Deferred Object](https://api.jquery.com/category/deferred-object/) \| [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 1.8](https://api.jquery.com/category/deprecated/deprecated-1.8/) # [deferred.pipe()](https://api.jquery.com/deferred.pipe/ "Permalink to deferred.pipe()") Utility method to filter and/or chain Deferreds. [Deferred Object](https://api.jquery.com/category/deferred-object/) # [deferred.progress()](https://api.jquery.com/deferred.progress/ "Permalink to deferred.progress()") Add handlers to be called when the Deferred object generates progress notifications. [Deferred Object](https://api.jquery.com/category/deferred-object/) # [deferred.promise()](https://api.jquery.com/deferred.promise/ "Permalink to deferred.promise()") Return a Deferred’s Promise object. [Deferred Object](https://api.jquery.com/category/deferred-object/) # [deferred.reject()](https://api.jquery.com/deferred.reject/ "Permalink to deferred.reject()") Reject a Deferred object and call any failCallbacks with the given args. [Deferred Object](https://api.jquery.com/category/deferred-object/) # [deferred.rejectWith()](https://api.jquery.com/deferred.rejectWith/ "Permalink to deferred.rejectWith()") Reject a Deferred object and call any failCallbacks with the given context and args. [Deferred Object](https://api.jquery.com/category/deferred-object/) # [deferred.resolve()](https://api.jquery.com/deferred.resolve/ "Permalink to deferred.resolve()") Resolve a Deferred object and call any doneCallbacks with the given args. [Deferred Object](https://api.jquery.com/category/deferred-object/) # [deferred.resolveWith()](https://api.jquery.com/deferred.resolveWith/ "Permalink to deferred.resolveWith()") Resolve a Deferred object and call any doneCallbacks with the given context and args. [Deferred Object](https://api.jquery.com/category/deferred-object/) # [deferred.state()](https://api.jquery.com/deferred.state/ "Permalink to deferred.state()") Determine the current state of a Deferred object. [Deferred Object](https://api.jquery.com/category/deferred-object/) # [deferred.then()](https://api.jquery.com/deferred.then/ "Permalink to deferred.then()") Add handlers to be called when the Deferred object is resolved, rejected, or still in progress. [Effects](https://api.jquery.com/category/effects/) \> [Custom](https://api.jquery.com/category/effects/custom-effects/) # [.delay()](https://api.jquery.com/delay/ "Permalink to .delay()") Set a timer to delay execution of subsequent items in the queue. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.0](https://api.jquery.com/category/deprecated/deprecated-3.0/) \| [Events](https://api.jquery.com/category/events/) \> [Event Handler Attachment](https://api.jquery.com/category/events/event-handler-attachment/) # [.delegate()](https://api.jquery.com/delegate/ "Permalink to .delegate()") Attach a handler to one or more events for all elements that match the selector, now or in the future, based on a specific set of root elements. [Effects](https://api.jquery.com/category/effects/) \> [Custom](https://api.jquery.com/category/effects/custom-effects/) \| [Data](https://api.jquery.com/category/data/) \| [Utilities](https://api.jquery.com/category/utilities/) # [.dequeue()](https://api.jquery.com/dequeue/ "Permalink to .dequeue()") Execute the next function on the queue for the matched elements. [Selectors](https://api.jquery.com/category/selectors/) \> [Hierarchy](https://api.jquery.com/category/selectors/hierarchy-selectors/) # [Descendant Selector (“ancestor descendant”)](https://api.jquery.com/descendant-selector/ "Permalink to Descendant Selector (“ancestor descendant”)") Selects all elements that are descendants of a given ancestor. [Manipulation](https://api.jquery.com/category/manipulation/) \> [DOM Removal](https://api.jquery.com/category/manipulation/dom-removal/) # [.detach()](https://api.jquery.com/detach/ "Permalink to .detach()") Remove the set of matched elements from the DOM. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 1.7](https://api.jquery.com/category/deprecated/deprecated-1.7/) \| [Events](https://api.jquery.com/category/events/) \> [Event Handler Attachment](https://api.jquery.com/category/events/event-handler-attachment/) \| [Removed](https://api.jquery.com/category/removed/) # [.die()](https://api.jquery.com/die/ "Permalink to .die()") Remove event handlers previously attached using .live() from the elements. [Selectors](https://api.jquery.com/category/selectors/) \> [Form](https://api.jquery.com/category/selectors/form-selectors/) # [:disabled Selector](https://api.jquery.com/disabled-selector/ "Permalink to :disabled Selector") Selects all elements that are disabled. [Miscellaneous](https://api.jquery.com/category/miscellaneous/) \> [Collection Manipulation](https://api.jquery.com/category/miscellaneous/collection-manipulation/) \| [Traversing](https://api.jquery.com/category/traversing/) # [.each()](https://api.jquery.com/each/ "Permalink to .each()") Iterate over a jQuery object, executing a function for each matched element. [Selectors](https://api.jquery.com/category/selectors/) \> [Basic](https://api.jquery.com/category/selectors/basic-css-selectors/) # [Element Selector (“element”)](https://api.jquery.com/element-selector/ "Permalink to Element Selector (“element”)") Selects all elements with the given tag name. [Manipulation](https://api.jquery.com/category/manipulation/) \> [DOM Removal](https://api.jquery.com/category/manipulation/dom-removal/) # [.empty()](https://api.jquery.com/empty/ "Permalink to .empty()") Remove all child nodes of the set of matched elements from the DOM. [Selectors](https://api.jquery.com/category/selectors/) \> [Content Filter](https://api.jquery.com/category/selectors/content-filter-selector/) # [:empty Selector](https://api.jquery.com/empty-selector/ "Permalink to :empty Selector") Select all elements that have no children (including text nodes). [Selectors](https://api.jquery.com/category/selectors/) \> [Form](https://api.jquery.com/category/selectors/form-selectors/) # [:enabled Selector](https://api.jquery.com/enabled-selector/ "Permalink to :enabled Selector") Selects all elements that are enabled. [Traversing](https://api.jquery.com/category/traversing/) \> [Miscellaneous Traversing](https://api.jquery.com/category/traversing/miscellaneous-traversal/) # [.end()](https://api.jquery.com/end/ "Permalink to .end()") End the most recent filtering operation in the current chain and return the set of matched elements to its previous state. [Traversing](https://api.jquery.com/category/traversing/) \> [Filtering](https://api.jquery.com/category/traversing/filtering/) # [.eq()](https://api.jquery.com/eq/ "Permalink to .eq()") Reduce the set of matched elements to the one at the specified index. [Selectors](https://api.jquery.com/category/selectors/) \> [Basic Filter](https://api.jquery.com/category/selectors/basic-filter-selectors/) \| [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.4](https://api.jquery.com/category/deprecated/deprecated-3.4/) \| [Selectors](https://api.jquery.com/category/selectors/) \> [jQuery Extensions](https://api.jquery.com/category/selectors/jquery-selector-extensions/) # [:eq() Selector](https://api.jquery.com/eq-selector/ "Permalink to :eq() Selector") Select the element at index n within the matched set. [Events](https://api.jquery.com/category/events/) \> [Browser Events](https://api.jquery.com/category/events/browser-events/) # [error event](https://api.jquery.com/error/ "Permalink to error event") Bind an event handler to the “error” event, or trigger that event on an element. [Events](https://api.jquery.com/category/events/) \> [Browser Events](https://api.jquery.com/category/events/browser-events/) \| [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 1.8](https://api.jquery.com/category/deprecated/deprecated-1.8/) \| [Removed](https://api.jquery.com/category/removed/) # [.error()](https://api.jquery.com/error-shorthand/ "Permalink to .error()") Bind an event handler to the “error” event, or trigger that event on an element. [Traversing](https://api.jquery.com/category/traversing/) \> [Filtering](https://api.jquery.com/category/traversing/filtering/) # [.even()](https://api.jquery.com/even/ "Permalink to .even()") Reduce the set of matched elements to the even ones in the set, numbered from zero. [Selectors](https://api.jquery.com/category/selectors/) \> [Basic Filter](https://api.jquery.com/category/selectors/basic-filter-selectors/) \| [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.4](https://api.jquery.com/category/deprecated/deprecated-3.4/) \| [Selectors](https://api.jquery.com/category/selectors/) \> [jQuery Extensions](https://api.jquery.com/category/selectors/jquery-selector-extensions/) # [:even Selector](https://api.jquery.com/even-selector/ "Permalink to :even Selector") Selects even elements, zero-indexed. See also :odd. [Events](https://api.jquery.com/category/events/) \> [Event Object](https://api.jquery.com/category/events/event-object/) # [event.currentTarget](https://api.jquery.com/event.currentTarget/ "Permalink to event.currentTarget") The current DOM element within the event bubbling phase. [Events](https://api.jquery.com/category/events/) \> [Event Object](https://api.jquery.com/category/events/event-object/) # [event.data](https://api.jquery.com/event.data/ "Permalink to event.data") An optional object of data passed to an event method when the current executing handler is bound. [Events](https://api.jquery.com/category/events/) \> [Event Object](https://api.jquery.com/category/events/event-object/) \| [Events](https://api.jquery.com/category/events/) # [event.delegateTarget](https://api.jquery.com/event.delegateTarget/ "Permalink to event.delegateTarget") The element where the currently-called jQuery event handler was attached. [Events](https://api.jquery.com/category/events/) \> [Event Object](https://api.jquery.com/category/events/event-object/) # [event.isDefaultPrevented()](https://api.jquery.com/event.isDefaultPrevented/ "Permalink to event.isDefaultPrevented()") Returns whether event.preventDefault() was ever called on this event object. [Events](https://api.jquery.com/category/events/) \> [Event Object](https://api.jquery.com/category/events/event-object/) # [event.isImmediatePropagationStopped()](https://api.jquery.com/event.isImmediatePropagationStopped/ "Permalink to event.isImmediatePropagationStopped()") Returns whether event.stopImmediatePropagation() was ever called on this event object. [Events](https://api.jquery.com/category/events/) \> [Event Object](https://api.jquery.com/category/events/event-object/) # [event.isPropagationStopped()](https://api.jquery.com/event.isPropagationStopped/ "Permalink to event.isPropagationStopped()") Returns whether event.stopPropagation() was ever called on this event object. [Events](https://api.jquery.com/category/events/) \> [Event Object](https://api.jquery.com/category/events/event-object/) # [event.metaKey](https://api.jquery.com/event.metaKey/ "Permalink to event.metaKey") Indicates whether the META key was pressed when the event fired. [Events](https://api.jquery.com/category/events/) \> [Event Object](https://api.jquery.com/category/events/event-object/) # [event.namespace](https://api.jquery.com/event.namespace/ "Permalink to event.namespace") The namespace specified when the event was triggered. [Events](https://api.jquery.com/category/events/) \> [Event Object](https://api.jquery.com/category/events/event-object/) # [event.pageX](https://api.jquery.com/event.pageX/ "Permalink to event.pageX") The mouse position relative to the left edge of the document. [Events](https://api.jquery.com/category/events/) \> [Event Object](https://api.jquery.com/category/events/event-object/) # [event.pageY](https://api.jquery.com/event.pageY/ "Permalink to event.pageY") The mouse position relative to the top edge of the document. [Events](https://api.jquery.com/category/events/) \> [Event Object](https://api.jquery.com/category/events/event-object/) # [event.preventDefault()](https://api.jquery.com/event.preventDefault/ "Permalink to event.preventDefault()") If this method is called, the default action of the event will not be triggered. [Events](https://api.jquery.com/category/events/) \> [Event Object](https://api.jquery.com/category/events/event-object/) # [event.relatedTarget](https://api.jquery.com/event.relatedTarget/ "Permalink to event.relatedTarget") The other DOM element involved in the event, if any. [Events](https://api.jquery.com/category/events/) \> [Event Object](https://api.jquery.com/category/events/event-object/) # [event.result](https://api.jquery.com/event.result/ "Permalink to event.result") The last value returned by an event handler that was triggered by this event, unless the value was undefined. [Events](https://api.jquery.com/category/events/) \> [Event Object](https://api.jquery.com/category/events/event-object/) # [event.stopImmediatePropagation()](https://api.jquery.com/event.stopImmediatePropagation/ "Permalink to event.stopImmediatePropagation()") Keeps the rest of the handlers from being executed and prevents the event from bubbling up the DOM tree. [Events](https://api.jquery.com/category/events/) \> [Event Object](https://api.jquery.com/category/events/event-object/) # [event.stopPropagation()](https://api.jquery.com/event.stopPropagation/ "Permalink to event.stopPropagation()") Prevents the event from bubbling up the DOM tree, preventing any parent handlers from being notified of the event. [Events](https://api.jquery.com/category/events/) \> [Event Object](https://api.jquery.com/category/events/event-object/) # [event.target](https://api.jquery.com/event.target/ "Permalink to event.target") The DOM element that initiated the event. [Events](https://api.jquery.com/category/events/) \> [Event Object](https://api.jquery.com/category/events/event-object/) # [event.timeStamp](https://api.jquery.com/event.timeStamp/ "Permalink to event.timeStamp") The difference in milliseconds between the time the browser created the event and January 1, 1970. [Events](https://api.jquery.com/category/events/) \> [Event Object](https://api.jquery.com/category/events/event-object/) # [event.type](https://api.jquery.com/event.type/ "Permalink to event.type") Describes the nature of the event. [Events](https://api.jquery.com/category/events/) \> [Event Object](https://api.jquery.com/category/events/event-object/) # [event.which](https://api.jquery.com/event.which/ "Permalink to event.which") For key or mouse events, this property indicates the specific key or button that was pressed. [Effects](https://api.jquery.com/category/effects/) \> [Fading](https://api.jquery.com/category/effects/fading/) # [.fadeIn()](https://api.jquery.com/fadeIn/ "Permalink to .fadeIn()") Display the matched elements by fading them to opaque. [Effects](https://api.jquery.com/category/effects/) \> [Fading](https://api.jquery.com/category/effects/fading/) # [.fadeOut()](https://api.jquery.com/fadeOut/ "Permalink to .fadeOut()") Hide the matched elements by fading them to transparent. [Effects](https://api.jquery.com/category/effects/) \> [Fading](https://api.jquery.com/category/effects/fading/) # [.fadeTo()](https://api.jquery.com/fadeTo/ "Permalink to .fadeTo()") Adjust the opacity of the matched elements. [Effects](https://api.jquery.com/category/effects/) \| [Effects](https://api.jquery.com/category/effects/) \> [Fading](https://api.jquery.com/category/effects/fading/) # [.fadeToggle()](https://api.jquery.com/fadeToggle/ "Permalink to .fadeToggle()") Display or hide the matched elements by animating their opacity. [Selectors](https://api.jquery.com/category/selectors/) \> [Form](https://api.jquery.com/category/selectors/form-selectors/) \| [Selectors](https://api.jquery.com/category/selectors/) \> [jQuery Extensions](https://api.jquery.com/category/selectors/jquery-selector-extensions/) # [:file Selector](https://api.jquery.com/file-selector/ "Permalink to :file Selector") Selects all elements of type file. [Traversing](https://api.jquery.com/category/traversing/) \> [Filtering](https://api.jquery.com/category/traversing/filtering/) # [.filter()](https://api.jquery.com/filter/ "Permalink to .filter()") Reduce the set of matched elements to those that match the selector or pass the function’s test. [Traversing](https://api.jquery.com/category/traversing/) \> [Tree Traversal](https://api.jquery.com/category/traversing/tree-traversal/) # [.find()](https://api.jquery.com/find/ "Permalink to .find()") Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element. [Effects](https://api.jquery.com/category/effects/) \> [Custom](https://api.jquery.com/category/effects/custom-effects/) # [.finish()](https://api.jquery.com/finish/ "Permalink to .finish()") Stop the currently-running animation, remove all queued animations, and complete all animations for the matched elements. [Traversing](https://api.jquery.com/category/traversing/) \> [Filtering](https://api.jquery.com/category/traversing/filtering/) # [.first()](https://api.jquery.com/first/ "Permalink to .first()") Reduce the set of matched elements to the first in the set. [Selectors](https://api.jquery.com/category/selectors/) \> [Child Filter](https://api.jquery.com/category/selectors/child-filter-selectors/) # [:first-child Selector](https://api.jquery.com/first-child-selector/ "Permalink to :first-child Selector") Selects all elements that are the first child of their parent. [Selectors](https://api.jquery.com/category/selectors/) \> [Child Filter](https://api.jquery.com/category/selectors/child-filter-selectors/) # [:first-of-type Selector](https://api.jquery.com/first-of-type-selector/ "Permalink to :first-of-type Selector") Selects all elements that are the first among siblings of the same element name. [Selectors](https://api.jquery.com/category/selectors/) \> [Basic Filter](https://api.jquery.com/category/selectors/basic-filter-selectors/) \| [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.4](https://api.jquery.com/category/deprecated/deprecated-3.4/) \| [Selectors](https://api.jquery.com/category/selectors/) \> [jQuery Extensions](https://api.jquery.com/category/selectors/jquery-selector-extensions/) # [:first Selector](https://api.jquery.com/first-selector/ "Permalink to :first Selector") Selects the first matched DOM element. [Events](https://api.jquery.com/category/events/) \> [Form Events](https://api.jquery.com/category/events/form-events/) \| [Forms](https://api.jquery.com/category/forms/) # [focus event](https://api.jquery.com/focus/ "Permalink to focus event") Bind an event handler to the “focus” event, or trigger that event on an element. [Selectors](https://api.jquery.com/category/selectors/) \> [Basic Filter](https://api.jquery.com/category/selectors/basic-filter-selectors/) \| [Selectors](https://api.jquery.com/category/selectors/) \> [Form](https://api.jquery.com/category/selectors/form-selectors/) # [:focus Selector](https://api.jquery.com/focus-selector/ "Permalink to :focus Selector") Selects element if it is currently focused. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.3](https://api.jquery.com/category/deprecated/deprecated-3.3/) \| [Events](https://api.jquery.com/category/events/) \> [Form Events](https://api.jquery.com/category/events/form-events/) \| [Forms](https://api.jquery.com/category/forms/) # [.focus()](https://api.jquery.com/focus-shorthand/ "Permalink to .focus()") Bind an event handler to the “focus” event, or trigger that event on an element. [Events](https://api.jquery.com/category/events/) \> [Form Events](https://api.jquery.com/category/events/form-events/) \| [Forms](https://api.jquery.com/category/forms/) # [focusin event](https://api.jquery.com/focusin/ "Permalink to focusin event") Bind an event handler to the “focusin” event, or trigger that event on an element. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.3](https://api.jquery.com/category/deprecated/deprecated-3.3/) \| [Events](https://api.jquery.com/category/events/) \> [Form Events](https://api.jquery.com/category/events/form-events/) \| [Forms](https://api.jquery.com/category/forms/) # [.focusin()](https://api.jquery.com/focusin-shorthand/ "Permalink to .focusin()") Bind an event handler to the “focusin” event, or trigger that event on an element. [Events](https://api.jquery.com/category/events/) \> [Form Events](https://api.jquery.com/category/events/form-events/) \| [Forms](https://api.jquery.com/category/forms/) # [focusout event](https://api.jquery.com/focusout/ "Permalink to focusout event") Bind an event handler to the “focusout” event, or trigger that event on an element. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.3](https://api.jquery.com/category/deprecated/deprecated-3.3/) \| [Events](https://api.jquery.com/category/events/) \> [Form Events](https://api.jquery.com/category/events/form-events/) \| [Forms](https://api.jquery.com/category/forms/) # [.focusout()](https://api.jquery.com/focusout-shorthand/ "Permalink to .focusout()") Bind an event handler to the “focusout” event, or trigger that event on an element. [Miscellaneous](https://api.jquery.com/category/miscellaneous/) \> [DOM Element Methods](https://api.jquery.com/category/miscellaneous/dom-element-methods/) # [.get()](https://api.jquery.com/get/ "Permalink to .get()") Retrieve the DOM elements matched by the jQuery object. [Selectors](https://api.jquery.com/category/selectors/) \> [Basic Filter](https://api.jquery.com/category/selectors/basic-filter-selectors/) \| [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.4](https://api.jquery.com/category/deprecated/deprecated-3.4/) \| [Selectors](https://api.jquery.com/category/selectors/) \> [jQuery Extensions](https://api.jquery.com/category/selectors/jquery-selector-extensions/) # [:gt() Selector](https://api.jquery.com/gt-selector/ "Permalink to :gt() Selector") Select all elements at an index greater than index within the matched set. [Traversing](https://api.jquery.com/category/traversing/) \> [Filtering](https://api.jquery.com/category/traversing/filtering/) # [.has()](https://api.jquery.com/has/ "Permalink to .has()") Reduce the set of matched elements to those that have a descendant that matches the selector or DOM element. [Selectors](https://api.jquery.com/category/selectors/) \> [Attribute](https://api.jquery.com/category/selectors/attribute-selectors/) # [Has Attribute Selector \[name\]](https://api.jquery.com/has-attribute-selector/ "Permalink to Has Attribute Selector [name]") Selects elements that have the specified attribute, with any value. [Selectors](https://api.jquery.com/category/selectors/) \> [Content Filter](https://api.jquery.com/category/selectors/content-filter-selector/) \| [Selectors](https://api.jquery.com/category/selectors/) \> [jQuery Extensions](https://api.jquery.com/category/selectors/jquery-selector-extensions/) # [:has() Selector](https://api.jquery.com/has-selector/ "Permalink to :has() Selector") Selects elements which contain at least one element that matches the specified selector. [Attributes](https://api.jquery.com/category/attributes/) \| [Manipulation](https://api.jquery.com/category/manipulation/) \> [Class Attribute](https://api.jquery.com/category/manipulation/class-attribute/) \| [CSS](https://api.jquery.com/category/css/) # [.hasClass()](https://api.jquery.com/hasClass/ "Permalink to .hasClass()") Determine whether any of the matched elements are assigned the given class. [Selectors](https://api.jquery.com/category/selectors/) \> [Basic Filter](https://api.jquery.com/category/selectors/basic-filter-selectors/) \| [Selectors](https://api.jquery.com/category/selectors/) \> [jQuery Extensions](https://api.jquery.com/category/selectors/jquery-selector-extensions/) # [:header Selector](https://api.jquery.com/header-selector/ "Permalink to :header Selector") Selects all elements that are headers, like h1, h2, h3 and so on. [CSS](https://api.jquery.com/category/css/) \| [Dimensions](https://api.jquery.com/category/dimensions/) \| [Manipulation](https://api.jquery.com/category/manipulation/) \> [Style Properties](https://api.jquery.com/category/manipulation/style-properties/) # [.height()](https://api.jquery.com/height/ "Permalink to .height()") Get the current computed height for the first element in the set of matched elements or set the height of every matched element. [Selectors](https://api.jquery.com/category/selectors/) \> [jQuery Extensions](https://api.jquery.com/category/selectors/jquery-selector-extensions/) \| [Selectors](https://api.jquery.com/category/selectors/) \> [Visibility Filter](https://api.jquery.com/category/selectors/visibility-filter-selectors/) # [:hidden Selector](https://api.jquery.com/hidden-selector/ "Permalink to :hidden Selector") Selects all elements that are hidden. [Effects](https://api.jquery.com/category/effects/) \> [Basics](https://api.jquery.com/category/effects/basics/) # [.hide()](https://api.jquery.com/hide/ "Permalink to .hide()") Hide the matched elements. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.3](https://api.jquery.com/category/deprecated/deprecated-3.3/) \| [Events](https://api.jquery.com/category/events/) \> [Mouse Events](https://api.jquery.com/category/events/mouse-events/) # [.hover()](https://api.jquery.com/hover/ "Permalink to .hover()") Bind one or two handlers to the matched elements, to be executed when the mouse pointer enters and leaves the elements. [Attributes](https://api.jquery.com/category/attributes/) \| [Manipulation](https://api.jquery.com/category/manipulation/) \> [DOM Insertion, Inside](https://api.jquery.com/category/manipulation/dom-insertion-inside/) # [.html()](https://api.jquery.com/html/ "Permalink to .html()") Get the HTML contents of the first element in the set of matched elements or set the HTML contents of every matched element. [Selectors](https://api.jquery.com/category/selectors/) \> [Basic](https://api.jquery.com/category/selectors/basic-css-selectors/) # [ID Selector (“\#id”)](https://api.jquery.com/id-selector/ "Permalink to ID Selector (“#id”)") Selects a single element with the given id attribute. [Selectors](https://api.jquery.com/category/selectors/) \> [Form](https://api.jquery.com/category/selectors/form-selectors/) \| [Selectors](https://api.jquery.com/category/selectors/) \> [jQuery Extensions](https://api.jquery.com/category/selectors/jquery-selector-extensions/) # [:image Selector](https://api.jquery.com/image-selector/ "Permalink to :image Selector") Selects all elements of type image. [Miscellaneous](https://api.jquery.com/category/miscellaneous/) \> [DOM Element Methods](https://api.jquery.com/category/miscellaneous/dom-element-methods/) # [.index()](https://api.jquery.com/index/ "Permalink to .index()") Search for a given element from among the matched elements. [CSS](https://api.jquery.com/category/css/) \| [Dimensions](https://api.jquery.com/category/dimensions/) \| [Manipulation](https://api.jquery.com/category/manipulation/) \> [Style Properties](https://api.jquery.com/category/manipulation/style-properties/) # [.innerHeight()](https://api.jquery.com/innerHeight/ "Permalink to .innerHeight()") Get the current computed inner height (including padding but not border) for the first element in the set of matched elements or set the inner height of every matched element. [CSS](https://api.jquery.com/category/css/) \| [Dimensions](https://api.jquery.com/category/dimensions/) \| [Manipulation](https://api.jquery.com/category/manipulation/) \> [Style Properties](https://api.jquery.com/category/manipulation/style-properties/) # [.innerWidth()](https://api.jquery.com/innerWidth/ "Permalink to .innerWidth()") Get the current computed inner width (including padding but not border) for the first element in the set of matched elements or set the inner width of every matched element. [Selectors](https://api.jquery.com/category/selectors/) \> [Form](https://api.jquery.com/category/selectors/form-selectors/) \| [Selectors](https://api.jquery.com/category/selectors/) \> [jQuery Extensions](https://api.jquery.com/category/selectors/jquery-selector-extensions/) # [:input Selector](https://api.jquery.com/input-selector/ "Permalink to :input Selector") Selects all input, textarea, select and button elements. [Manipulation](https://api.jquery.com/category/manipulation/) \> [DOM Insertion, Outside](https://api.jquery.com/category/manipulation/dom-insertion-outside/) # [.insertAfter()](https://api.jquery.com/insertAfter/ "Permalink to .insertAfter()") Insert every element in the set of matched elements after the target. [Manipulation](https://api.jquery.com/category/manipulation/) \> [DOM Insertion, Outside](https://api.jquery.com/category/manipulation/dom-insertion-outside/) # [.insertBefore()](https://api.jquery.com/insertBefore/ "Permalink to .insertBefore()") Insert every element in the set of matched elements before the target. [Traversing](https://api.jquery.com/category/traversing/) \> [Filtering](https://api.jquery.com/category/traversing/filtering/) # [.is()](https://api.jquery.com/is/ "Permalink to .is()") Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments. [Core](https://api.jquery.com/category/core/) # [jQuery()](https://api.jquery.com/jQuery/ "Permalink to jQuery()") Return a collection of matched elements either found in the DOM based on passed argument(s) or created by passing an HTML string. [Internals](https://api.jquery.com/category/internals/) \| [Properties](https://api.jquery.com/category/properties/) \> [Properties of jQuery Object Instances](https://api.jquery.com/category/properties/jquery-object-instance-properties/) # [.jquery](https://api.jquery.com/jquery-2/ "Permalink to .jquery") A string containing the jQuery version number. [Ajax](https://api.jquery.com/category/ajax/) \> [Low-Level Interface](https://api.jquery.com/category/ajax/low-level-interface/) # [jQuery.ajax()](https://api.jquery.com/jQuery.ajax/ "Permalink to jQuery.ajax()") Perform an asynchronous HTTP (Ajax) request. [Ajax](https://api.jquery.com/category/ajax/) \> [Low-Level Interface](https://api.jquery.com/category/ajax/low-level-interface/) # [jQuery.ajaxPrefilter()](https://api.jquery.com/jQuery.ajaxPrefilter/ "Permalink to jQuery.ajaxPrefilter()") Handle custom Ajax options or modify existing options before each request is sent and before they are processed by \$.ajax(). [Ajax](https://api.jquery.com/category/ajax/) \> [Low-Level Interface](https://api.jquery.com/category/ajax/low-level-interface/) # [jQuery.ajaxSetup()](https://api.jquery.com/jQuery.ajaxSetup/ "Permalink to jQuery.ajaxSetup()") Set default values for future Ajax requests. Its use is not recommended. [Ajax](https://api.jquery.com/category/ajax/) \> [Low-Level Interface](https://api.jquery.com/category/ajax/low-level-interface/) # [jQuery.ajaxTransport()](https://api.jquery.com/jQuery.ajaxTransport/ "Permalink to jQuery.ajaxTransport()") Creates an object that handles the actual transmission of Ajax data. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 1.3](https://api.jquery.com/category/deprecated/deprecated-1.3/) \| [Removed](https://api.jquery.com/category/removed/) \| [Utilities](https://api.jquery.com/category/utilities/) # [jQuery.boxModel](https://api.jquery.com/jQuery.boxModel/ "Permalink to jQuery.boxModel") States if the current page, in the user’s browser, is being rendered using the W3C CSS Box Model. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 1.3](https://api.jquery.com/category/deprecated/deprecated-1.3/) \| [Properties](https://api.jquery.com/category/properties/) \> [Properties of the Global jQuery Object](https://api.jquery.com/category/properties/global-jquery-object-properties/) \| [Removed](https://api.jquery.com/category/removed/) \| [Utilities](https://api.jquery.com/category/utilities/) # [jQuery.browser](https://api.jquery.com/jQuery.browser/ "Permalink to jQuery.browser") Contains flags for the useragent, read from navigator.userAgent. This property was removed in jQuery 1.9 and is available only through the jQuery.migrate plugin. Please try to use feature detection instead. [Callbacks Object](https://api.jquery.com/category/callbacks-object/) # [jQuery.Callbacks()](https://api.jquery.com/jQuery.Callbacks/ "Permalink to jQuery.Callbacks()") A multi-purpose callbacks list object that provides a powerful way to manage callback lists. [Utilities](https://api.jquery.com/category/utilities/) # [jQuery.contains()](https://api.jquery.com/jQuery.contains/ "Permalink to jQuery.contains()") Check to see if a DOM element is a descendant of another DOM element. [CSS](https://api.jquery.com/category/css/) # [jQuery.cssHooks](https://api.jquery.com/jQuery.cssHooks/ "Permalink to jQuery.cssHooks") Hook directly into jQuery to override how particular CSS properties are retrieved or set, normalize CSS property naming, or create custom properties. [CSS](https://api.jquery.com/category/css/) \| [Manipulation](https://api.jquery.com/category/manipulation/) \> [Style Properties](https://api.jquery.com/category/manipulation/style-properties/) # [jQuery.cssNumber](https://api.jquery.com/jQuery.cssNumber/ "Permalink to jQuery.cssNumber") An object containing all CSS properties that may be used without a unit. Prior to jQuery 4.0, the .css() method uses this object to see if it may append px to unitless values. [Data](https://api.jquery.com/category/data/) \| [Utilities](https://api.jquery.com/category/utilities/) # [jQuery.data()](https://api.jquery.com/jQuery.data/ "Permalink to jQuery.data()") Store arbitrary data associated with the specified element and/or return the value that was set. [Deferred Object](https://api.jquery.com/category/deferred-object/) # [jQuery.Deferred()](https://api.jquery.com/jQuery.Deferred/ "Permalink to jQuery.Deferred()") A factory function that returns a chainable utility object with methods to register multiple callbacks into callback queues, invoke callback queues, and relay the success or failure state of any synchronous or asynchronous function. [Deferred Object](https://api.jquery.com/category/deferred-object/) # [jQuery.Deferred.exceptionHook()](https://api.jquery.com/jQuery.Deferred.exceptionHook/ "Permalink to jQuery.Deferred.exceptionHook()") Handle errors produced by Deferreds. [Deferred Object](https://api.jquery.com/category/deferred-object/) # [jQuery.Deferred.getErrorHook()](https://api.jquery.com/jQuery.Deferred.getErrorHook/ "Permalink to jQuery.Deferred.getErrorHook()") Return an Error instance with a defined stack. [Deferred Object](https://api.jquery.com/category/deferred-object/) \| [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.7](https://api.jquery.com/category/deprecated/deprecated-3.7/) \| [Removed](https://api.jquery.com/category/removed/) # [jQuery.Deferred.getStackHook()](https://api.jquery.com/jQuery.Deferred.getStackHook/ "Permalink to jQuery.Deferred.getStackHook()") Return an Error instance with a defined stack. [Data](https://api.jquery.com/category/data/) \| [Utilities](https://api.jquery.com/category/utilities/) # [jQuery.dequeue()](https://api.jquery.com/jQuery.dequeue/ "Permalink to jQuery.dequeue()") Execute the next function on the queue for the matched element. [Utilities](https://api.jquery.com/category/utilities/) # [jQuery.each()](https://api.jquery.com/jQuery.each/ "Permalink to 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. [Internals](https://api.jquery.com/category/internals/) # [jQuery.error()](https://api.jquery.com/jQuery.error/ "Permalink to jQuery.error()") Takes a string and throws an exception containing it. [CSS](https://api.jquery.com/category/css/) # [jQuery.escapeSelector()](https://api.jquery.com/jQuery.escapeSelector/ "Permalink to jQuery.escapeSelector()") Escapes any character that has a special meaning in a CSS selector. [Utilities](https://api.jquery.com/category/utilities/) # [jQuery.extend()](https://api.jquery.com/jQuery.extend/ "Permalink to jQuery.extend()") Merge the contents of two or more objects together into the first object. # [jQuery.find()](https://api.jquery.com/jQuery.find/ "Permalink to jQuery.find()") The jQuery selector engine, formerly known as Sizzle, is exposed under jQuery.find. This page describes all the APIs under jQuery.find. [Utilities](https://api.jquery.com/category/utilities/) # [jQuery.fn.extend()](https://api.jquery.com/jQuery.fn.extend/ "Permalink to jQuery.fn.extend()") Merge the contents of an object onto the jQuery prototype to provide new jQuery instance methods. [Effects](https://api.jquery.com/category/effects/) \> [Custom](https://api.jquery.com/category/effects/custom-effects/) \| [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.0](https://api.jquery.com/category/deprecated/deprecated-3.0/) \| [Properties](https://api.jquery.com/category/properties/) \> [Properties of the Global jQuery Object](https://api.jquery.com/category/properties/global-jquery-object-properties/) \| [Removed](https://api.jquery.com/category/removed/) # [jQuery.fx.interval](https://api.jquery.com/jQuery.fx.interval/ "Permalink to jQuery.fx.interval") The rate (in milliseconds) at which animations fire. [Effects](https://api.jquery.com/category/effects/) \> [Custom](https://api.jquery.com/category/effects/custom-effects/) \| [Properties](https://api.jquery.com/category/properties/) \> [Properties of the Global jQuery Object](https://api.jquery.com/category/properties/global-jquery-object-properties/) # [jQuery.fx.off](https://api.jquery.com/jQuery.fx.off/ "Permalink to jQuery.fx.off") Globally disable all animations. [Ajax](https://api.jquery.com/category/ajax/) \> [Shorthand Methods](https://api.jquery.com/category/ajax/shorthand-methods/) # [jQuery.get()](https://api.jquery.com/jQuery.get/ "Permalink to jQuery.get()") Load data from the server using a HTTP GET request. [Ajax](https://api.jquery.com/category/ajax/) \> [Shorthand Methods](https://api.jquery.com/category/ajax/shorthand-methods/) # [jQuery.getJSON()](https://api.jquery.com/jQuery.getJSON/ "Permalink to jQuery.getJSON()") Load JSON-encoded data from the server using a GET HTTP request. [Ajax](https://api.jquery.com/category/ajax/) \> [Shorthand Methods](https://api.jquery.com/category/ajax/shorthand-methods/) # [jQuery.getScript()](https://api.jquery.com/jQuery.getScript/ "Permalink to jQuery.getScript()") Load a JavaScript file from the server using a GET HTTP request, then execute it. [Utilities](https://api.jquery.com/category/utilities/) # [jQuery.globalEval()](https://api.jquery.com/jQuery.globalEval/ "Permalink to jQuery.globalEval()") Execute some JavaScript code globally. [Utilities](https://api.jquery.com/category/utilities/) # [jQuery.grep()](https://api.jquery.com/jQuery.grep/ "Permalink to jQuery.grep()") Finds the elements of an array which satisfy a filter function. The original array is not affected. [Data](https://api.jquery.com/category/data/) # [jQuery.hasData()](https://api.jquery.com/jQuery.hasData/ "Permalink to jQuery.hasData()") Determine whether an element has any jQuery data associated with it. [Core](https://api.jquery.com/category/core/) \| [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.2](https://api.jquery.com/category/deprecated/deprecated-3.2/) \| [Events](https://api.jquery.com/category/events/) \> [Document Loading](https://api.jquery.com/category/events/document-loading/) \| [Properties](https://api.jquery.com/category/properties/) \> [Properties of the Global jQuery Object](https://api.jquery.com/category/properties/global-jquery-object-properties/) # [jQuery.holdReady()](https://api.jquery.com/jQuery.holdReady/ "Permalink to jQuery.holdReady()") Holds or releases the execution of jQuery’s ready event. [Manipulation](https://api.jquery.com/category/manipulation/) # [jQuery.htmlPrefilter()](https://api.jquery.com/jQuery.htmlPrefilter/ "Permalink to jQuery.htmlPrefilter()") Modify and filter HTML strings passed through jQuery manipulation methods. [Utilities](https://api.jquery.com/category/utilities/) # [jQuery.inArray()](https://api.jquery.com/jQuery.inArray/ "Permalink to jQuery.inArray()") Search for a specified value within an array and return its index (or -1 if not found). [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.2](https://api.jquery.com/category/deprecated/deprecated-3.2/) \| [Removed](https://api.jquery.com/category/removed/) \| [Utilities](https://api.jquery.com/category/utilities/) # [jQuery.isArray()](https://api.jquery.com/jQuery.isArray/ "Permalink to jQuery.isArray()") Determine whether the argument is an array. [Utilities](https://api.jquery.com/category/utilities/) # [jQuery.isEmptyObject()](https://api.jquery.com/jQuery.isEmptyObject/ "Permalink to jQuery.isEmptyObject()") Check to see if an object is empty (contains no enumerable properties). [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.3](https://api.jquery.com/category/deprecated/deprecated-3.3/) \| [Removed](https://api.jquery.com/category/removed/) \| [Utilities](https://api.jquery.com/category/utilities/) # [jQuery.isFunction()](https://api.jquery.com/jQuery.isFunction/ "Permalink to jQuery.isFunction()") Determines if its argument is callable as a function. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.3](https://api.jquery.com/category/deprecated/deprecated-3.3/) \| [Removed](https://api.jquery.com/category/removed/) \| [Utilities](https://api.jquery.com/category/utilities/) # [jQuery.isNumeric()](https://api.jquery.com/jQuery.isNumeric/ "Permalink to jQuery.isNumeric()") Determines whether its argument represents a JavaScript number. [Utilities](https://api.jquery.com/category/utilities/) # [jQuery.isPlainObject()](https://api.jquery.com/jQuery.isPlainObject/ "Permalink to jQuery.isPlainObject()") Check to see if an object is a plain object (created using “{}” or “new Object”). [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.3](https://api.jquery.com/category/deprecated/deprecated-3.3/) \| [Removed](https://api.jquery.com/category/removed/) \| [Utilities](https://api.jquery.com/category/utilities/) # [jQuery.isWindow()](https://api.jquery.com/jQuery.isWindow/ "Permalink to jQuery.isWindow()") Determine whether the argument is a window. [Utilities](https://api.jquery.com/category/utilities/) # [jQuery.isXMLDoc()](https://api.jquery.com/jQuery.isXMLDoc/ "Permalink to jQuery.isXMLDoc()") Check to see if a DOM node is within an XML document (or is an XML document). [Utilities](https://api.jquery.com/category/utilities/) # [jQuery.makeArray()](https://api.jquery.com/jQuery.makeArray/ "Permalink to jQuery.makeArray()") Convert an array-like object into a true JavaScript array. [Utilities](https://api.jquery.com/category/utilities/) # [jQuery.map()](https://api.jquery.com/jQuery.map/ "Permalink to jQuery.map()") Translate all items in an array or object to new array of items. [Utilities](https://api.jquery.com/category/utilities/) # [jQuery.merge()](https://api.jquery.com/jQuery.merge/ "Permalink to jQuery.merge()") Merge the contents of two arrays together into the first array. [Core](https://api.jquery.com/category/core/) \| [Miscellaneous](https://api.jquery.com/category/miscellaneous/) \> [Setup Methods](https://api.jquery.com/category/miscellaneous/setup-methods/) # [jQuery.noConflict()](https://api.jquery.com/jQuery.noConflict/ "Permalink to jQuery.noConflict()") Relinquish jQuery’s control of the \$ variable. [Utilities](https://api.jquery.com/category/utilities/) # [jQuery.noop()](https://api.jquery.com/jQuery.noop/ "Permalink to jQuery.noop()") An empty function. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.3](https://api.jquery.com/category/deprecated/deprecated-3.3/) \| [Removed](https://api.jquery.com/category/removed/) \| [Utilities](https://api.jquery.com/category/utilities/) # [jQuery.now()](https://api.jquery.com/jQuery.now/ "Permalink to jQuery.now()") Return a number representing the current time. [Miscellaneous](https://api.jquery.com/category/miscellaneous/) \> [Collection Manipulation](https://api.jquery.com/category/miscellaneous/collection-manipulation/) \| [Forms](https://api.jquery.com/category/forms/) \| [Ajax](https://api.jquery.com/category/ajax/) \> [Helper Functions](https://api.jquery.com/category/ajax/helper-functions/) # [jQuery.param()](https://api.jquery.com/jQuery.param/ "Permalink to jQuery.param()") Create a serialized representation of an array, a plain object, or a jQuery object suitable for use in a URL query string or Ajax request. In case a jQuery object is passed, it should contain input elements with name/value properties. [Utilities](https://api.jquery.com/category/utilities/) # [jQuery.parseHTML()](https://api.jquery.com/jQuery.parseHTML/ "Permalink to jQuery.parseHTML()") Parses a string into an array of DOM nodes. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.0](https://api.jquery.com/category/deprecated/deprecated-3.0/) \| [Removed](https://api.jquery.com/category/removed/) \| [Utilities](https://api.jquery.com/category/utilities/) # [jQuery.parseJSON()](https://api.jquery.com/jQuery.parseJSON/ "Permalink to jQuery.parseJSON()") Takes a well-formed JSON string and returns the resulting JavaScript value. [Utilities](https://api.jquery.com/category/utilities/) # [jQuery.parseXML()](https://api.jquery.com/jQuery.parseXML/ "Permalink to jQuery.parseXML()") Parses a string into an XML document. [Ajax](https://api.jquery.com/category/ajax/) \> [Shorthand Methods](https://api.jquery.com/category/ajax/shorthand-methods/) # [jQuery.post()](https://api.jquery.com/jQuery.post/ "Permalink to jQuery.post()") Send data to the server using a HTTP POST request. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.3](https://api.jquery.com/category/deprecated/deprecated-3.3/) \| [Events](https://api.jquery.com/category/events/) \> [Event Handler Attachment](https://api.jquery.com/category/events/event-handler-attachment/) \| [Utilities](https://api.jquery.com/category/utilities/) # [jQuery.proxy()](https://api.jquery.com/jQuery.proxy/ "Permalink to jQuery.proxy()") Takes a function and returns a new one that will always have a particular context. [Data](https://api.jquery.com/category/data/) \| [Utilities](https://api.jquery.com/category/utilities/) # [jQuery.queue()](https://api.jquery.com/jQuery.queue/ "Permalink to jQuery.queue()") Show or manipulate the queue of functions to be executed on the matched element. [Core](https://api.jquery.com/category/core/) \| [Events](https://api.jquery.com/category/events/) \> [Document Loading](https://api.jquery.com/category/events/document-loading/) \| [Properties](https://api.jquery.com/category/properties/) \> [Properties of the Global jQuery Object](https://api.jquery.com/category/properties/global-jquery-object-properties/) # [jQuery.ready](https://api.jquery.com/jQuery.ready/ "Permalink to jQuery.ready") A Promise-like object (or “thenable”) that resolves when the document is ready. [Core](https://api.jquery.com/category/core/) # [jQuery.readyException()](https://api.jquery.com/jQuery.readyException/ "Permalink to jQuery.readyException()") Handles errors thrown synchronously in functions wrapped in jQuery(). [Data](https://api.jquery.com/category/data/) \| [Utilities](https://api.jquery.com/category/utilities/) # [jQuery.removeData()](https://api.jquery.com/jQuery.removeData/ "Permalink to jQuery.removeData()") Remove a previously-stored piece of data. [Effects](https://api.jquery.com/category/effects/) \> [Custom](https://api.jquery.com/category/effects/custom-effects/) # [jQuery.speed](https://api.jquery.com/jQuery.speed/ "Permalink to jQuery.speed") Creates an object containing a set of properties ready to be used in the definition of custom animations. [Core](https://api.jquery.com/category/core/) \| [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 1.7](https://api.jquery.com/category/deprecated/deprecated-1.7/) \| [Removed](https://api.jquery.com/category/removed/) # [jQuery.sub()](https://api.jquery.com/jQuery.sub/ "Permalink to jQuery.sub()") Creates a new copy of jQuery whose properties and methods can be modified without affecting the original jQuery object. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 1.9](https://api.jquery.com/category/deprecated/deprecated-1.9/) \| [Properties](https://api.jquery.com/category/properties/) \> [Properties of the Global jQuery Object](https://api.jquery.com/category/properties/global-jquery-object-properties/) \| [Utilities](https://api.jquery.com/category/utilities/) # [jQuery.support](https://api.jquery.com/jQuery.support/ "Permalink to jQuery.support") A collection of properties that represent the presence of different browser features or bugs; intended for jQuery’s internal use. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.5](https://api.jquery.com/category/deprecated/deprecated-3.5/) \| [Removed](https://api.jquery.com/category/removed/) \| [Utilities](https://api.jquery.com/category/utilities/) # [jQuery.trim()](https://api.jquery.com/jQuery.trim/ "Permalink to jQuery.trim()") Remove the whitespace from the beginning and end of a string. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.3](https://api.jquery.com/category/deprecated/deprecated-3.3/) \| [Removed](https://api.jquery.com/category/removed/) \| [Utilities](https://api.jquery.com/category/utilities/) # [jQuery.type()](https://api.jquery.com/jQuery.type/ "Permalink to jQuery.type()") Determine the internal JavaScript \[\[Class\]\] of an object. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.0](https://api.jquery.com/category/deprecated/deprecated-3.0/) \| [Removed](https://api.jquery.com/category/removed/) \| [Utilities](https://api.jquery.com/category/utilities/) # [jQuery.unique()](https://api.jquery.com/jQuery.unique/ "Permalink to 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. [Utilities](https://api.jquery.com/category/utilities/) # [jQuery.uniqueSort()](https://api.jquery.com/jQuery.uniqueSort/ "Permalink to jQuery.uniqueSort()") Sorts an array or an array-like object of DOM elements, in place, with the duplicates removed. Note that this only works on arrays/array-likes of DOM elements, not strings or numbers. [Core](https://api.jquery.com/category/core/) \| [Deferred Object](https://api.jquery.com/category/deferred-object/) # [jQuery.when()](https://api.jquery.com/jQuery.when/ "Permalink to jQuery.when()") Provides a way to execute callback functions based on zero or more Thenable objects, usually Deferred objects that represent asynchronous events. [Events](https://api.jquery.com/category/events/) \> [Keyboard Events](https://api.jquery.com/category/events/keyboard-events/) # [keydown event](https://api.jquery.com/keydown/ "Permalink to keydown event") Bind an event handler to the “keydown” event, or trigger that event on an element. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.3](https://api.jquery.com/category/deprecated/deprecated-3.3/) \| [Events](https://api.jquery.com/category/events/) \> [Keyboard Events](https://api.jquery.com/category/events/keyboard-events/) # [.keydown()](https://api.jquery.com/keydown-shorthand/ "Permalink to .keydown()") Bind an event handler to the “keydown” event, or trigger that event on an element. [Events](https://api.jquery.com/category/events/) \> [Keyboard Events](https://api.jquery.com/category/events/keyboard-events/) # [keypress event](https://api.jquery.com/keypress/ "Permalink to keypress event") Bind an event handler to the “keypress” event, or trigger that event on an element. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.3](https://api.jquery.com/category/deprecated/deprecated-3.3/) \| [Events](https://api.jquery.com/category/events/) \> [Keyboard Events](https://api.jquery.com/category/events/keyboard-events/) # [.keypress()](https://api.jquery.com/keypress-shorthand/ "Permalink to .keypress()") Bind an event handler to the “keypress” event, or trigger that event on an element. [Events](https://api.jquery.com/category/events/) \> [Keyboard Events](https://api.jquery.com/category/events/keyboard-events/) # [keyup event](https://api.jquery.com/keyup/ "Permalink to keyup event") Bind an event handler to the “keyup” event, or trigger that event on an element. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.3](https://api.jquery.com/category/deprecated/deprecated-3.3/) \| [Events](https://api.jquery.com/category/events/) \> [Keyboard Events](https://api.jquery.com/category/events/keyboard-events/) # [.keyup()](https://api.jquery.com/keyup-shorthand/ "Permalink to .keyup()") Bind an event handler to the “keyup” event, or trigger that event on an element. [Selectors](https://api.jquery.com/category/selectors/) \> [Basic Filter](https://api.jquery.com/category/selectors/basic-filter-selectors/) # [:lang() Selector](https://api.jquery.com/lang-selector/ "Permalink to :lang() Selector") Selects all elements of the specified language. [Traversing](https://api.jquery.com/category/traversing/) \> [Filtering](https://api.jquery.com/category/traversing/filtering/) # [.last()](https://api.jquery.com/last/ "Permalink to .last()") Reduce the set of matched elements to the final one in the set. [Selectors](https://api.jquery.com/category/selectors/) \> [Child Filter](https://api.jquery.com/category/selectors/child-filter-selectors/) # [:last-child Selector](https://api.jquery.com/last-child-selector/ "Permalink to :last-child Selector") Selects all elements that are the last child of their parent. [Selectors](https://api.jquery.com/category/selectors/) \> [Child Filter](https://api.jquery.com/category/selectors/child-filter-selectors/) # [:last-of-type Selector](https://api.jquery.com/last-of-type-selector/ "Permalink to :last-of-type Selector") Selects all elements that are the last among siblings of the same element name. [Selectors](https://api.jquery.com/category/selectors/) \> [Basic Filter](https://api.jquery.com/category/selectors/basic-filter-selectors/) \| [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.4](https://api.jquery.com/category/deprecated/deprecated-3.4/) \| [Selectors](https://api.jquery.com/category/selectors/) \> [jQuery Extensions](https://api.jquery.com/category/selectors/jquery-selector-extensions/) # [:last Selector](https://api.jquery.com/last-selector/ "Permalink to :last Selector") Selects the last matched element. [Properties](https://api.jquery.com/category/properties/) \> [Properties of jQuery Object Instances](https://api.jquery.com/category/properties/jquery-object-instance-properties/) # [.length](https://api.jquery.com/length/ "Permalink to .length") The number of elements in the jQuery object. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 1.7](https://api.jquery.com/category/deprecated/deprecated-1.7/) \| [Events](https://api.jquery.com/category/events/) \> [Event Handler Attachment](https://api.jquery.com/category/events/event-handler-attachment/) \| [Removed](https://api.jquery.com/category/removed/) # [.live()](https://api.jquery.com/live/ "Permalink to .live()") Attach an event handler for all elements which match the current selector, now and in the future. [Ajax](https://api.jquery.com/category/ajax/) \> [Shorthand Methods](https://api.jquery.com/category/ajax/shorthand-methods/) # [.load()](https://api.jquery.com/load/ "Permalink to .load()") Load data from the server and place the returned HTML into the matched elements. [Events](https://api.jquery.com/category/events/) \> [Document Loading](https://api.jquery.com/category/events/document-loading/) # [load event](https://api.jquery.com/load-event/ "Permalink to load event") Bind an event handler to the “load” event, or trigger that event on an element. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 1.8](https://api.jquery.com/category/deprecated/deprecated-1.8/) \| [Events](https://api.jquery.com/category/events/) \> [Document Loading](https://api.jquery.com/category/events/document-loading/) \| [Removed](https://api.jquery.com/category/removed/) # [.load()](https://api.jquery.com/load-shorthand/ "Permalink to .load()") Bind an event handler to the “load” event, or trigger that event on an element. [Selectors](https://api.jquery.com/category/selectors/) \> [Basic Filter](https://api.jquery.com/category/selectors/basic-filter-selectors/) \| [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.4](https://api.jquery.com/category/deprecated/deprecated-3.4/) \| [Selectors](https://api.jquery.com/category/selectors/) \> [jQuery Extensions](https://api.jquery.com/category/selectors/jquery-selector-extensions/) # [:lt() Selector](https://api.jquery.com/lt-selector/ "Permalink to :lt() Selector") Select all elements at an index less than index within the matched set. [Traversing](https://api.jquery.com/category/traversing/) \> [Filtering](https://api.jquery.com/category/traversing/filtering/) # [.map()](https://api.jquery.com/map/ "Permalink to .map()") Pass each element in the current matched set through a function, producing a new jQuery object containing the return values. [Events](https://api.jquery.com/category/events/) \> [Mouse Events](https://api.jquery.com/category/events/mouse-events/) # [mousedown event](https://api.jquery.com/mousedown/ "Permalink to mousedown event") Bind an event handler to the “mousedown” event, or trigger that event on an element. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.3](https://api.jquery.com/category/deprecated/deprecated-3.3/) \| [Events](https://api.jquery.com/category/events/) \> [Mouse Events](https://api.jquery.com/category/events/mouse-events/) # [.mousedown()](https://api.jquery.com/mousedown-shorthand/ "Permalink to .mousedown()") Bind an event handler to the “mousedown” event, or trigger that event on an element. [Events](https://api.jquery.com/category/events/) \> [Mouse Events](https://api.jquery.com/category/events/mouse-events/) # [mouseenter event](https://api.jquery.com/mouseenter/ "Permalink to mouseenter event") Bind an event handler to be fired when the mouse enters an element, or trigger that handler on an element. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.3](https://api.jquery.com/category/deprecated/deprecated-3.3/) \| [Events](https://api.jquery.com/category/events/) \> [Mouse Events](https://api.jquery.com/category/events/mouse-events/) # [.mouseenter()](https://api.jquery.com/mouseenter-shorthand/ "Permalink to .mouseenter()") Bind an event handler to the “mouseenter” event, or trigger that event on an element. [Events](https://api.jquery.com/category/events/) \> [Mouse Events](https://api.jquery.com/category/events/mouse-events/) # [mouseleave event](https://api.jquery.com/mouseleave/ "Permalink to mouseleave event") Bind an event handler to be fired when the mouse leaves an element, or trigger that handler on an element. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.3](https://api.jquery.com/category/deprecated/deprecated-3.3/) \| [Events](https://api.jquery.com/category/events/) \> [Mouse Events](https://api.jquery.com/category/events/mouse-events/) # [.mouseleave()](https://api.jquery.com/mouseleave-shorthand/ "Permalink to .mouseleave()") Bind an event handler to the “mouseleave” event, or trigger that event on an element. [Events](https://api.jquery.com/category/events/) \> [Mouse Events](https://api.jquery.com/category/events/mouse-events/) # [mousemove event](https://api.jquery.com/mousemove/ "Permalink to mousemove event") Bind an event handler to the “mousemove” event, or trigger that event on an element. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.3](https://api.jquery.com/category/deprecated/deprecated-3.3/) \| [Events](https://api.jquery.com/category/events/) \> [Mouse Events](https://api.jquery.com/category/events/mouse-events/) # [.mousemove()](https://api.jquery.com/mousemove-shorthand/ "Permalink to .mousemove()") Bind an event handler to the “mousemove” event, or trigger that event on an element. [Events](https://api.jquery.com/category/events/) \> [Mouse Events](https://api.jquery.com/category/events/mouse-events/) # [mouseout event](https://api.jquery.com/mouseout/ "Permalink to mouseout event") Bind an event handler to the “mouseout” event, or trigger that event on an element. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.3](https://api.jquery.com/category/deprecated/deprecated-3.3/) \| [Events](https://api.jquery.com/category/events/) \> [Mouse Events](https://api.jquery.com/category/events/mouse-events/) # [.mouseout()](https://api.jquery.com/mouseout-shorthand/ "Permalink to .mouseout()") Bind an event handler to the “mouseout” event, or trigger that event on an element. [Events](https://api.jquery.com/category/events/) \> [Mouse Events](https://api.jquery.com/category/events/mouse-events/) # [mouseover event](https://api.jquery.com/mouseover/ "Permalink to mouseover event") Bind an event handler to the “mouseover” event, or trigger that event on an element. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.3](https://api.jquery.com/category/deprecated/deprecated-3.3/) \| [Events](https://api.jquery.com/category/events/) \> [Mouse Events](https://api.jquery.com/category/events/mouse-events/) # [.mouseover()](https://api.jquery.com/mouseover-shorthand/ "Permalink to .mouseover()") Bind an event handler to the “mouseover” event, or trigger that event on an element. [Events](https://api.jquery.com/category/events/) \> [Mouse Events](https://api.jquery.com/category/events/mouse-events/) # [mouseup event](https://api.jquery.com/mouseup/ "Permalink to mouseup event") Bind an event handler to the “mouseup” event, or trigger that event on an element. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.3](https://api.jquery.com/category/deprecated/deprecated-3.3/) \| [Events](https://api.jquery.com/category/events/) \> [Mouse Events](https://api.jquery.com/category/events/mouse-events/) # [.mouseup()](https://api.jquery.com/mouseup-shorthand/ "Permalink to .mouseup()") Bind an event handler to the “mouseup” event, or trigger that event on an element. [Selectors](https://api.jquery.com/category/selectors/) \> [Attribute](https://api.jquery.com/category/selectors/attribute-selectors/) # [Multiple Attribute Selector \[name=”value”\]\[name2=”value2″\]](https://api.jquery.com/multiple-attribute-selector/ "Permalink to Multiple Attribute Selector [name=”value”][name2=”value2″]") Matches elements that match all of the specified attribute filters. [Selectors](https://api.jquery.com/category/selectors/) \> [Basic](https://api.jquery.com/category/selectors/basic-css-selectors/) # [Multiple Selector (“selector1, selector2, selectorN”)](https://api.jquery.com/multiple-selector/ "Permalink to Multiple Selector (“selector1, selector2, selectorN”)") Selects the combined results of all the specified selectors. [Traversing](https://api.jquery.com/category/traversing/) \> [Tree Traversal](https://api.jquery.com/category/traversing/tree-traversal/) # [.next()](https://api.jquery.com/next/ "Permalink to .next()") Get the immediately following sibling of each element in the set of matched elements. If a selector is provided, it retrieves the next sibling only if it matches that selector. [Selectors](https://api.jquery.com/category/selectors/) \> [Hierarchy](https://api.jquery.com/category/selectors/hierarchy-selectors/) # [Next Adjacent Selector (“prev + next”)](https://api.jquery.com/next-adjacent-selector/ "Permalink to Next Adjacent Selector (“prev + next”)") Selects all next elements matching “next” that are immediately preceded by a sibling “prev”. [Selectors](https://api.jquery.com/category/selectors/) \> [Hierarchy](https://api.jquery.com/category/selectors/hierarchy-selectors/) # [Next Siblings Selector (“prev ~ siblings”)](https://api.jquery.com/next-siblings-selector/ "Permalink to Next Siblings Selector (“prev ~ siblings”)") Selects all sibling elements that follow after the “prev” element, have the same parent, and match the filtering “siblings” selector. [Traversing](https://api.jquery.com/category/traversing/) \> [Tree Traversal](https://api.jquery.com/category/traversing/tree-traversal/) # [.nextAll()](https://api.jquery.com/nextAll/ "Permalink to .nextAll()") Get all following siblings of each element in the set of matched elements, optionally filtered by a selector. [Traversing](https://api.jquery.com/category/traversing/) \> [Tree Traversal](https://api.jquery.com/category/traversing/tree-traversal/) # [.nextUntil()](https://api.jquery.com/nextUntil/ "Permalink to .nextUntil()") Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed. [Traversing](https://api.jquery.com/category/traversing/) \> [Filtering](https://api.jquery.com/category/traversing/filtering/) \| [Traversing](https://api.jquery.com/category/traversing/) \> [Miscellaneous Traversing](https://api.jquery.com/category/traversing/miscellaneous-traversal/) # [.not()](https://api.jquery.com/not/ "Permalink to .not()") Remove elements from the set of matched elements. [Selectors](https://api.jquery.com/category/selectors/) \> [Basic Filter](https://api.jquery.com/category/selectors/basic-filter-selectors/) # [:not() Selector](https://api.jquery.com/not-selector/ "Permalink to :not() Selector") Selects all elements that do not match the given selector. [Selectors](https://api.jquery.com/category/selectors/) \> [Child Filter](https://api.jquery.com/category/selectors/child-filter-selectors/) # [:nth-child() Selector](https://api.jquery.com/nth-child-selector/ "Permalink to :nth-child() Selector") Selects all elements that are the nth-child of their parent. [Selectors](https://api.jquery.com/category/selectors/) \> [Child Filter](https://api.jquery.com/category/selectors/child-filter-selectors/) # [:nth-last-child() Selector](https://api.jquery.com/nth-last-child-selector/ "Permalink to :nth-last-child() Selector") Selects all elements that are the nth-child of their parent, counting from the last element to the first. [Selectors](https://api.jquery.com/category/selectors/) \> [Child Filter](https://api.jquery.com/category/selectors/child-filter-selectors/) # [:nth-last-of-type() Selector](https://api.jquery.com/nth-last-of-type-selector/ "Permalink to :nth-last-of-type() Selector") Selects all the elements that are the nth-child of their parent in relation to siblings with the same element name, counting from the last element to the first. [Selectors](https://api.jquery.com/category/selectors/) \> [Child Filter](https://api.jquery.com/category/selectors/child-filter-selectors/) # [:nth-of-type() Selector](https://api.jquery.com/nth-of-type-selector/ "Permalink to :nth-of-type() Selector") Selects all elements that are the nth child of their parent in relation to siblings with the same element name. [Traversing](https://api.jquery.com/category/traversing/) \> [Filtering](https://api.jquery.com/category/traversing/filtering/) # [.odd()](https://api.jquery.com/odd/ "Permalink to .odd()") Reduce the set of matched elements to the odd ones in the set, numbered from zero. [Selectors](https://api.jquery.com/category/selectors/) \> [Basic Filter](https://api.jquery.com/category/selectors/basic-filter-selectors/) \| [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.4](https://api.jquery.com/category/deprecated/deprecated-3.4/) \| [Selectors](https://api.jquery.com/category/selectors/) \> [jQuery Extensions](https://api.jquery.com/category/selectors/jquery-selector-extensions/) # [:odd Selector](https://api.jquery.com/odd-selector/ "Permalink to :odd Selector") Selects odd elements, zero-indexed. See also :even. [Events](https://api.jquery.com/category/events/) \> [Event Handler Attachment](https://api.jquery.com/category/events/event-handler-attachment/) # [.off()](https://api.jquery.com/off/ "Permalink to .off()") Remove an event handler. [CSS](https://api.jquery.com/category/css/) \| [Offset](https://api.jquery.com/category/offset/) \| [Manipulation](https://api.jquery.com/category/manipulation/) \> [Style Properties](https://api.jquery.com/category/manipulation/style-properties/) # [.offset()](https://api.jquery.com/offset/ "Permalink to .offset()") Get the current coordinates of the first element, or set the coordinates of every element, in the set of matched elements, relative to the document. [Offset](https://api.jquery.com/category/offset/) \| [Traversing](https://api.jquery.com/category/traversing/) \> [Tree Traversal](https://api.jquery.com/category/traversing/tree-traversal/) # [.offsetParent()](https://api.jquery.com/offsetParent/ "Permalink to .offsetParent()") Get the closest ancestor element that is positioned. [Events](https://api.jquery.com/category/events/) \> [Event Handler Attachment](https://api.jquery.com/category/events/event-handler-attachment/) # [.on()](https://api.jquery.com/on/ "Permalink to .on()") Attach an event handler function for one or more events to the selected elements. [Events](https://api.jquery.com/category/events/) \> [Event Handler Attachment](https://api.jquery.com/category/events/event-handler-attachment/) # [.one()](https://api.jquery.com/one/ "Permalink to .one()") Attach a handler to an event for the elements. The handler is executed at most once per element per event type. [Selectors](https://api.jquery.com/category/selectors/) \> [Child Filter](https://api.jquery.com/category/selectors/child-filter-selectors/) # [:only-child Selector](https://api.jquery.com/only-child-selector/ "Permalink to :only-child Selector") Selects all elements that are the only child of their parent. [Selectors](https://api.jquery.com/category/selectors/) \> [Child Filter](https://api.jquery.com/category/selectors/child-filter-selectors/) # [:only-of-type Selector](https://api.jquery.com/only-of-type-selector/ "Permalink to :only-of-type Selector") Selects all elements that have no siblings with the same element name. [CSS](https://api.jquery.com/category/css/) \| [Dimensions](https://api.jquery.com/category/dimensions/) \| [Manipulation](https://api.jquery.com/category/manipulation/) \> [Style Properties](https://api.jquery.com/category/manipulation/style-properties/) # [.outerHeight()](https://api.jquery.com/outerHeight/ "Permalink to .outerHeight()") Get the current computed outer height (including padding, border, and optionally margin) for the first element in the set of matched elements or set the outer height of every matched element. [CSS](https://api.jquery.com/category/css/) \| [Dimensions](https://api.jquery.com/category/dimensions/) \| [Manipulation](https://api.jquery.com/category/manipulation/) \> [Style Properties](https://api.jquery.com/category/manipulation/style-properties/) # [.outerWidth()](https://api.jquery.com/outerWidth/ "Permalink to .outerWidth()") Get the current computed outer width (including padding, border, and optionally margin) for the first element in the set of matched elements or set the outer width of every matched element. [Traversing](https://api.jquery.com/category/traversing/) \> [Tree Traversal](https://api.jquery.com/category/traversing/tree-traversal/) # [.parent()](https://api.jquery.com/parent/ "Permalink to .parent()") Get the parent of each element in the current set of matched elements, optionally filtered by a selector. [Selectors](https://api.jquery.com/category/selectors/) \> [Content Filter](https://api.jquery.com/category/selectors/content-filter-selector/) \| [Selectors](https://api.jquery.com/category/selectors/) \> [jQuery Extensions](https://api.jquery.com/category/selectors/jquery-selector-extensions/) # [:parent Selector](https://api.jquery.com/parent-selector/ "Permalink to :parent Selector") Select all elements that have at least one child node (either an element or text). [Traversing](https://api.jquery.com/category/traversing/) \> [Tree Traversal](https://api.jquery.com/category/traversing/tree-traversal/) # [.parents()](https://api.jquery.com/parents/ "Permalink to .parents()") Get the ancestors of each element in the current set of matched elements, optionally filtered by a selector. [Traversing](https://api.jquery.com/category/traversing/) \> [Tree Traversal](https://api.jquery.com/category/traversing/tree-traversal/) # [.parentsUntil()](https://api.jquery.com/parentsUntil/ "Permalink to .parentsUntil()") Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object. [Selectors](https://api.jquery.com/category/selectors/) \> [Form](https://api.jquery.com/category/selectors/form-selectors/) \| [Selectors](https://api.jquery.com/category/selectors/) \> [jQuery Extensions](https://api.jquery.com/category/selectors/jquery-selector-extensions/) # [:password Selector](https://api.jquery.com/password-selector/ "Permalink to :password Selector") Selects all elements of type password. [CSS](https://api.jquery.com/category/css/) \| [Offset](https://api.jquery.com/category/offset/) \| [Manipulation](https://api.jquery.com/category/manipulation/) \> [Style Properties](https://api.jquery.com/category/manipulation/style-properties/) # [.position()](https://api.jquery.com/position/ "Permalink to .position()") Get the current coordinates of the first element in the set of matched elements, relative to the offset parent. [Manipulation](https://api.jquery.com/category/manipulation/) \> [DOM Insertion, Inside](https://api.jquery.com/category/manipulation/dom-insertion-inside/) # [.prepend()](https://api.jquery.com/prepend/ "Permalink to .prepend()") Insert content, specified by the parameter, to the beginning of each element in the set of matched elements. [Manipulation](https://api.jquery.com/category/manipulation/) \> [DOM Insertion, Inside](https://api.jquery.com/category/manipulation/dom-insertion-inside/) # [.prependTo()](https://api.jquery.com/prependTo/ "Permalink to .prependTo()") Insert every element in the set of matched elements to the beginning of the target. [Traversing](https://api.jquery.com/category/traversing/) \> [Tree Traversal](https://api.jquery.com/category/traversing/tree-traversal/) # [.prev()](https://api.jquery.com/prev/ "Permalink to .prev()") Get the immediately preceding sibling of each element in the set of matched elements. If a selector is provided, it retrieves the previous sibling only if it matches that selector. [Traversing](https://api.jquery.com/category/traversing/) \> [Tree Traversal](https://api.jquery.com/category/traversing/tree-traversal/) # [.prevAll()](https://api.jquery.com/prevAll/ "Permalink to .prevAll()") Get all preceding siblings of each element in the set of matched elements, optionally filtered by a selector, in the reverse document order. [Traversing](https://api.jquery.com/category/traversing/) \> [Tree Traversal](https://api.jquery.com/category/traversing/tree-traversal/) # [.prevUntil()](https://api.jquery.com/prevUntil/ "Permalink to .prevUntil()") Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object. [Deferred Object](https://api.jquery.com/category/deferred-object/) # [.promise()](https://api.jquery.com/promise/ "Permalink to .promise()") Return a Promise object to observe when all actions of a certain type bound to the collection, queued or not, have finished. [Attributes](https://api.jquery.com/category/attributes/) \| [Manipulation](https://api.jquery.com/category/manipulation/) \> [General Attributes](https://api.jquery.com/category/manipulation/general-attributes/) # [.prop()](https://api.jquery.com/prop/ "Permalink to .prop()") Get the value of a property for the first element in the set of matched elements or set one or more properties for every matched element. [Internals](https://api.jquery.com/category/internals/) # [.pushStack()](https://api.jquery.com/pushStack/ "Permalink to .pushStack()") Add a collection of DOM elements onto the jQuery stack. [Effects](https://api.jquery.com/category/effects/) \> [Custom](https://api.jquery.com/category/effects/custom-effects/) \| [Data](https://api.jquery.com/category/data/) \| [Utilities](https://api.jquery.com/category/utilities/) # [.queue()](https://api.jquery.com/queue/ "Permalink to .queue()") Show or manipulate the queue of functions to be executed on the matched elements. [Selectors](https://api.jquery.com/category/selectors/) \> [Form](https://api.jquery.com/category/selectors/form-selectors/) \| [Selectors](https://api.jquery.com/category/selectors/) \> [jQuery Extensions](https://api.jquery.com/category/selectors/jquery-selector-extensions/) # [:radio Selector](https://api.jquery.com/radio-selector/ "Permalink to :radio Selector") Selects all elements of type radio. [Events](https://api.jquery.com/category/events/) \> [Document Loading](https://api.jquery.com/category/events/document-loading/) # [.ready()](https://api.jquery.com/ready/ "Permalink to .ready()") Specify a function to execute when the DOM is fully loaded. [Manipulation](https://api.jquery.com/category/manipulation/) \> [DOM Removal](https://api.jquery.com/category/manipulation/dom-removal/) # [.remove()](https://api.jquery.com/remove/ "Permalink to .remove()") Remove the set of matched elements from the DOM. [Attributes](https://api.jquery.com/category/attributes/) \| [Manipulation](https://api.jquery.com/category/manipulation/) \> [General Attributes](https://api.jquery.com/category/manipulation/general-attributes/) # [.removeAttr()](https://api.jquery.com/removeAttr/ "Permalink to .removeAttr()") Remove an attribute from each element in the set of matched elements. [Attributes](https://api.jquery.com/category/attributes/) \| [Manipulation](https://api.jquery.com/category/manipulation/) \> [Class Attribute](https://api.jquery.com/category/manipulation/class-attribute/) \| [CSS](https://api.jquery.com/category/css/) # [.removeClass()](https://api.jquery.com/removeClass/ "Permalink to .removeClass()") Remove a single class, multiple classes, or all classes from each element in the set of matched elements. [Data](https://api.jquery.com/category/data/) \| [Miscellaneous](https://api.jquery.com/category/miscellaneous/) \> [Data Storage](https://api.jquery.com/category/miscellaneous/data-storage/) # [.removeData()](https://api.jquery.com/removeData/ "Permalink to .removeData()") Remove a previously-stored piece of data. [Attributes](https://api.jquery.com/category/attributes/) \| [Manipulation](https://api.jquery.com/category/manipulation/) \> [General Attributes](https://api.jquery.com/category/manipulation/general-attributes/) # [.removeProp()](https://api.jquery.com/removeProp/ "Permalink to .removeProp()") Remove a property for the set of matched elements. [Manipulation](https://api.jquery.com/category/manipulation/) \> [DOM Replacement](https://api.jquery.com/category/manipulation/dom-replacement/) # [.replaceAll()](https://api.jquery.com/replaceAll/ "Permalink to .replaceAll()") Replace each target element with the set of matched elements. [Manipulation](https://api.jquery.com/category/manipulation/) \> [DOM Replacement](https://api.jquery.com/category/manipulation/dom-replacement/) # [.replaceWith()](https://api.jquery.com/replaceWith/ "Permalink to .replaceWith()") Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed. [Selectors](https://api.jquery.com/category/selectors/) \> [Form](https://api.jquery.com/category/selectors/form-selectors/) \| [Selectors](https://api.jquery.com/category/selectors/) \> [jQuery Extensions](https://api.jquery.com/category/selectors/jquery-selector-extensions/) # [:reset Selector](https://api.jquery.com/reset-selector/ "Permalink to :reset Selector") Selects all elements of type reset. [Events](https://api.jquery.com/category/events/) \> [Browser Events](https://api.jquery.com/category/events/browser-events/) # [resize event](https://api.jquery.com/resize/ "Permalink to resize event") Bind an event handler to the “resize” event, or trigger that event on an element. [Events](https://api.jquery.com/category/events/) \> [Browser Events](https://api.jquery.com/category/events/browser-events/) \| [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.3](https://api.jquery.com/category/deprecated/deprecated-3.3/) # [.resize()](https://api.jquery.com/resize-shorthand/ "Permalink to .resize()") Bind an event handler to the “resize” event, or trigger that event on an element. [Selectors](https://api.jquery.com/category/selectors/) \> [Basic Filter](https://api.jquery.com/category/selectors/basic-filter-selectors/) # [:root Selector](https://api.jquery.com/root-selector/ "Permalink to :root Selector") Selects the element that is the root of the document. [Events](https://api.jquery.com/category/events/) \> [Browser Events](https://api.jquery.com/category/events/browser-events/) # [scroll event](https://api.jquery.com/scroll/ "Permalink to scroll event") Bind an event handler to the “scroll” event, or trigger that event on an element. [Events](https://api.jquery.com/category/events/) \> [Browser Events](https://api.jquery.com/category/events/browser-events/) \| [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.3](https://api.jquery.com/category/deprecated/deprecated-3.3/) # [.scroll()](https://api.jquery.com/scroll-shorthand/ "Permalink to .scroll()") Bind an event handler to the “scroll” event, or trigger that event on an element. [CSS](https://api.jquery.com/category/css/) \| [Offset](https://api.jquery.com/category/offset/) \| [Manipulation](https://api.jquery.com/category/manipulation/) \> [Style Properties](https://api.jquery.com/category/manipulation/style-properties/) # [.scrollLeft()](https://api.jquery.com/scrollLeft/ "Permalink to .scrollLeft()") Get the current horizontal position of the scroll bar for the first element in the set of matched elements or set the horizontal position of the scroll bar for every matched element. [CSS](https://api.jquery.com/category/css/) \| [Offset](https://api.jquery.com/category/offset/) \| [Manipulation](https://api.jquery.com/category/manipulation/) \> [Style Properties](https://api.jquery.com/category/manipulation/style-properties/) # [.scrollTop()](https://api.jquery.com/scrollTop/ "Permalink to .scrollTop()") Get the current vertical position of the scroll bar for the first element in the set of matched elements or set the vertical position of the scroll bar for every matched element. [Events](https://api.jquery.com/category/events/) \> [Form Events](https://api.jquery.com/category/events/form-events/) \| [Forms](https://api.jquery.com/category/forms/) # [select event](https://api.jquery.com/select/ "Permalink to select event") Bind an event handler to the “select” event, or trigger that event on an element. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.3](https://api.jquery.com/category/deprecated/deprecated-3.3/) \| [Events](https://api.jquery.com/category/events/) \> [Form Events](https://api.jquery.com/category/events/form-events/) # [.select()](https://api.jquery.com/select-shorthand/ "Permalink to .select()") Bind an event handler to the “select” event, or trigger that event on an element. [Selectors](https://api.jquery.com/category/selectors/) \> [Form](https://api.jquery.com/category/selectors/form-selectors/) \| [Selectors](https://api.jquery.com/category/selectors/) \> [jQuery Extensions](https://api.jquery.com/category/selectors/jquery-selector-extensions/) # [:selected Selector](https://api.jquery.com/selected-selector/ "Permalink to :selected Selector") Selects all elements that are selected. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 1.7](https://api.jquery.com/category/deprecated/deprecated-1.7/) \| [Internals](https://api.jquery.com/category/internals/) \| [Properties](https://api.jquery.com/category/properties/) \> [Properties of jQuery Object Instances](https://api.jquery.com/category/properties/jquery-object-instance-properties/) \| [Removed](https://api.jquery.com/category/removed/) # [.selector](https://api.jquery.com/selector/ "Permalink to .selector") A selector representing selector passed to jQuery(), if any, when creating the original set. [Forms](https://api.jquery.com/category/forms/) \| [Ajax](https://api.jquery.com/category/ajax/) \> [Helper Functions](https://api.jquery.com/category/ajax/helper-functions/) # [.serialize()](https://api.jquery.com/serialize/ "Permalink to .serialize()") Encode a set of form elements as a string for submission. [Forms](https://api.jquery.com/category/forms/) \| [Ajax](https://api.jquery.com/category/ajax/) \> [Helper Functions](https://api.jquery.com/category/ajax/helper-functions/) # [.serializeArray()](https://api.jquery.com/serializeArray/ "Permalink to .serializeArray()") Encode a set of form elements as an array of names and values. [Effects](https://api.jquery.com/category/effects/) \> [Basics](https://api.jquery.com/category/effects/basics/) # [.show()](https://api.jquery.com/show/ "Permalink to .show()") Display the matched elements. [Traversing](https://api.jquery.com/category/traversing/) \> [Tree Traversal](https://api.jquery.com/category/traversing/tree-traversal/) # [.siblings()](https://api.jquery.com/siblings/ "Permalink to .siblings()") Get the siblings of each element in the set of matched elements, optionally filtered by a selector. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 1.8](https://api.jquery.com/category/deprecated/deprecated-1.8/) \| [Miscellaneous](https://api.jquery.com/category/miscellaneous/) \> [DOM Element Methods](https://api.jquery.com/category/miscellaneous/dom-element-methods/) \| [Removed](https://api.jquery.com/category/removed/) # [.size()](https://api.jquery.com/size/ "Permalink to .size()") Return the number of elements in the jQuery object. [Traversing](https://api.jquery.com/category/traversing/) \> [Filtering](https://api.jquery.com/category/traversing/filtering/) # [.slice()](https://api.jquery.com/slice/ "Permalink to .slice()") Reduce the set of matched elements to a subset specified by a range of indices. [Effects](https://api.jquery.com/category/effects/) \> [Sliding](https://api.jquery.com/category/effects/sliding/) # [.slideDown()](https://api.jquery.com/slideDown/ "Permalink to .slideDown()") Display the matched elements with a sliding motion. [Effects](https://api.jquery.com/category/effects/) \> [Sliding](https://api.jquery.com/category/effects/sliding/) # [.slideToggle()](https://api.jquery.com/slideToggle/ "Permalink to .slideToggle()") Display or hide the matched elements with a sliding motion. [Effects](https://api.jquery.com/category/effects/) \> [Sliding](https://api.jquery.com/category/effects/sliding/) # [.slideUp()](https://api.jquery.com/slideUp/ "Permalink to .slideUp()") Hide the matched elements with a sliding motion. [Effects](https://api.jquery.com/category/effects/) \> [Custom](https://api.jquery.com/category/effects/custom-effects/) # [.stop()](https://api.jquery.com/stop/ "Permalink to .stop()") Stop the currently-running animation on the matched elements. [Events](https://api.jquery.com/category/events/) \> [Form Events](https://api.jquery.com/category/events/form-events/) \| [Forms](https://api.jquery.com/category/forms/) # [submit event](https://api.jquery.com/submit/ "Permalink to submit event") Bind an event handler to the “submit” event, or trigger that event on an element. [Selectors](https://api.jquery.com/category/selectors/) \> [Form](https://api.jquery.com/category/selectors/form-selectors/) \| [Selectors](https://api.jquery.com/category/selectors/) \> [jQuery Extensions](https://api.jquery.com/category/selectors/jquery-selector-extensions/) # [:submit Selector](https://api.jquery.com/submit-selector/ "Permalink to :submit Selector") Selects all elements of type submit. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.3](https://api.jquery.com/category/deprecated/deprecated-3.3/) \| [Events](https://api.jquery.com/category/events/) \> [Form Events](https://api.jquery.com/category/events/form-events/) # [.submit()](https://api.jquery.com/submit-shorthand/ "Permalink to .submit()") Bind an event handler to the “submit” event, or trigger that event on an element. [Selectors](https://api.jquery.com/category/selectors/) \> [Basic Filter](https://api.jquery.com/category/selectors/basic-filter-selectors/) # [:target Selector](https://api.jquery.com/target-selector/ "Permalink to :target Selector") Selects the target element indicated by the fragment identifier of the document’s URI. [Manipulation](https://api.jquery.com/category/manipulation/) \> [DOM Insertion, Inside](https://api.jquery.com/category/manipulation/dom-insertion-inside/) # [.text()](https://api.jquery.com/text/ "Permalink to .text()") Get the combined text contents of each element in the set of matched elements, including their descendants, or set the text contents of the matched elements. [Selectors](https://api.jquery.com/category/selectors/) \> [Form](https://api.jquery.com/category/selectors/form-selectors/) \| [Selectors](https://api.jquery.com/category/selectors/) \> [jQuery Extensions](https://api.jquery.com/category/selectors/jquery-selector-extensions/) # [:text Selector](https://api.jquery.com/text-selector/ "Permalink to :text Selector") Selects all input elements of type text. [Miscellaneous](https://api.jquery.com/category/miscellaneous/) \> [DOM Element Methods](https://api.jquery.com/category/miscellaneous/dom-element-methods/) # [.toArray()](https://api.jquery.com/toArray/ "Permalink to .toArray()") Retrieve all the elements contained in the jQuery set, as an array. [Effects](https://api.jquery.com/category/effects/) \> [Basics](https://api.jquery.com/category/effects/basics/) # [.toggle()](https://api.jquery.com/toggle/ "Permalink to .toggle()") Display or hide the matched elements. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 1.8](https://api.jquery.com/category/deprecated/deprecated-1.8/) \| [Events](https://api.jquery.com/category/events/) \> [Mouse Events](https://api.jquery.com/category/events/mouse-events/) \| [Removed](https://api.jquery.com/category/removed/) # [.toggle()](https://api.jquery.com/toggle-event/ "Permalink to .toggle()") Bind two or more handlers to the matched elements, to be executed on alternate clicks. [Attributes](https://api.jquery.com/category/attributes/) \| [Manipulation](https://api.jquery.com/category/manipulation/) \> [Class Attribute](https://api.jquery.com/category/manipulation/class-attribute/) \| [CSS](https://api.jquery.com/category/css/) # [.toggleClass()](https://api.jquery.com/toggleClass/ "Permalink to .toggleClass()") Add or remove one or more classes from each element in the set of matched elements, depending on either the class’s presence or the value of the state argument. [Events](https://api.jquery.com/category/events/) \> [Event Handler Attachment](https://api.jquery.com/category/events/event-handler-attachment/) # [.trigger()](https://api.jquery.com/trigger/ "Permalink to .trigger()") Execute all handlers and behaviors attached to the matched elements for the given event type. [Events](https://api.jquery.com/category/events/) \> [Event Handler Attachment](https://api.jquery.com/category/events/event-handler-attachment/) # [.triggerHandler()](https://api.jquery.com/triggerHandler/ "Permalink to .triggerHandler()") Execute all handlers attached to an element for an event. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.0](https://api.jquery.com/category/deprecated/deprecated-3.0/) \| [Events](https://api.jquery.com/category/events/) \> [Event Handler Attachment](https://api.jquery.com/category/events/event-handler-attachment/) # [.unbind()](https://api.jquery.com/unbind/ "Permalink to .unbind()") Remove a previously-attached event handler from the elements. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 3.0](https://api.jquery.com/category/deprecated/deprecated-3.0/) \| [Events](https://api.jquery.com/category/events/) \> [Event Handler Attachment](https://api.jquery.com/category/events/event-handler-attachment/) # [.undelegate()](https://api.jquery.com/undelegate/ "Permalink to .undelegate()") Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements. [Utilities](https://api.jquery.com/category/utilities/) # [.uniqueSort()](https://api.jquery.com/uniqueSort/ "Permalink to .uniqueSort()") Sorts a jQuery object of DOM elements, in place, with the duplicates removed. Note that this only works on jQuery objects consisting of DOM elements, not strings or numbers. [Events](https://api.jquery.com/category/events/) \> [Document Loading](https://api.jquery.com/category/events/document-loading/) # [unload event](https://api.jquery.com/unload/ "Permalink to unload event") Bind an event handler to the “unload” event, or trigger that event on an element. [Deprecated](https://api.jquery.com/category/deprecated/) \> [Deprecated 1.8](https://api.jquery.com/category/deprecated/deprecated-1.8/) \| [Events](https://api.jquery.com/category/events/) \> [Document Loading](https://api.jquery.com/category/events/document-loading/) \| [Removed](https://api.jquery.com/category/removed/) # [.unload()](https://api.jquery.com/unload-shorthand/ "Permalink to .unload()") Bind an event handler to the “unload” event, or trigger that event on an element. [Manipulation](https://api.jquery.com/category/manipulation/) \> [DOM Insertion, Around](https://api.jquery.com/category/manipulation/dom-insertion-around/) \| [Manipulation](https://api.jquery.com/category/manipulation/) \> [DOM Removal](https://api.jquery.com/category/manipulation/dom-removal/) # [.unwrap()](https://api.jquery.com/unwrap/ "Permalink to .unwrap()") Remove the parents of the set of matched elements from the DOM, leaving the matched elements in their place. [Attributes](https://api.jquery.com/category/attributes/) \| [Forms](https://api.jquery.com/category/forms/) \| [Manipulation](https://api.jquery.com/category/manipulation/) \> [General Attributes](https://api.jquery.com/category/manipulation/general-attributes/) # [.val()](https://api.jquery.com/val/ "Permalink to .val()") Get the current value of the first element in the set of matched elements or set the value of every matched element. [Selectors](https://api.jquery.com/category/selectors/) \> [jQuery Extensions](https://api.jquery.com/category/selectors/jquery-selector-extensions/) \| [Selectors](https://api.jquery.com/category/selectors/) \> [Visibility Filter](https://api.jquery.com/category/selectors/visibility-filter-selectors/) # [:visible Selector](https://api.jquery.com/visible-selector/ "Permalink to :visible Selector") Selects all elements that are visible. [CSS](https://api.jquery.com/category/css/) \| [Dimensions](https://api.jquery.com/category/dimensions/) \| [Manipulation](https://api.jquery.com/category/manipulation/) \> [Style Properties](https://api.jquery.com/category/manipulation/style-properties/) # [.width()](https://api.jquery.com/width/ "Permalink to .width()") Get the current computed width for the first element in the set of matched elements or set the width of every matched element. [Manipulation](https://api.jquery.com/category/manipulation/) \> [DOM Insertion, Around](https://api.jquery.com/category/manipulation/dom-insertion-around/) # [.wrap()](https://api.jquery.com/wrap/ "Permalink to .wrap()") Wrap an HTML structure around each element in the set of matched elements. [Manipulation](https://api.jquery.com/category/manipulation/) \> [DOM Insertion, Around](https://api.jquery.com/category/manipulation/dom-insertion-around/) # [.wrapAll()](https://api.jquery.com/wrapAll/ "Permalink to .wrapAll()") Wrap an HTML structure around all elements in the set of matched elements. [Manipulation](https://api.jquery.com/category/manipulation/) \> [DOM Insertion, Around](https://api.jquery.com/category/manipulation/dom-insertion-around/) # [.wrapInner()](https://api.jquery.com/wrapInner/ "Permalink to .wrapInner()") Wrap an HTML structure around the content of each element in the set of matched elements. - [Ajax](https://api.jquery.com/category/ajax/) - [Global Ajax Event Handlers](https://api.jquery.com/category/ajax/global-ajax-event-handlers/) - [Helper Functions](https://api.jquery.com/category/ajax/helper-functions/) - [Low-Level Interface](https://api.jquery.com/category/ajax/low-level-interface/) - [Shorthand Methods](https://api.jquery.com/category/ajax/shorthand-methods/) - [Attributes](https://api.jquery.com/category/attributes/) - [Callbacks Object](https://api.jquery.com/category/callbacks-object/) - [Core](https://api.jquery.com/category/core/) - [CSS](https://api.jquery.com/category/css/) - [Data](https://api.jquery.com/category/data/) - [Deferred Object](https://api.jquery.com/category/deferred-object/) - [Deprecated](https://api.jquery.com/category/deprecated/) - [Deprecated 1.3](https://api.jquery.com/category/deprecated/deprecated-1.3/) - [Deprecated 1.7](https://api.jquery.com/category/deprecated/deprecated-1.7/) - [Deprecated 1.8](https://api.jquery.com/category/deprecated/deprecated-1.8/) - [Deprecated 1.9](https://api.jquery.com/category/deprecated/deprecated-1.9/) - [Deprecated 1.10 & 2.0](https://api.jquery.com/category/deprecated/deprecated-1.10-and-2.0/) - [Deprecated 3.0](https://api.jquery.com/category/deprecated/deprecated-3.0/) - [Deprecated 3.2](https://api.jquery.com/category/deprecated/deprecated-3.2/) - [Deprecated 3.3](https://api.jquery.com/category/deprecated/deprecated-3.3/) - [Deprecated 3.4](https://api.jquery.com/category/deprecated/deprecated-3.4/) - [Deprecated 3.5](https://api.jquery.com/category/deprecated/deprecated-3.5/) - [Deprecated 3.7](https://api.jquery.com/category/deprecated/deprecated-3.7/) - [Dimensions](https://api.jquery.com/category/dimensions/) - [Effects](https://api.jquery.com/category/effects/) - [Basics](https://api.jquery.com/category/effects/basics/) - [Custom](https://api.jquery.com/category/effects/custom-effects/) - [Fading](https://api.jquery.com/category/effects/fading/) - [Sliding](https://api.jquery.com/category/effects/sliding/) - [Events](https://api.jquery.com/category/events/) - [Browser Events](https://api.jquery.com/category/events/browser-events/) - [Document Loading](https://api.jquery.com/category/events/document-loading/) - [Event Handler Attachment](https://api.jquery.com/category/events/event-handler-attachment/) - [Event Object](https://api.jquery.com/category/events/event-object/) - [Form Events](https://api.jquery.com/category/events/form-events/) - [Keyboard Events](https://api.jquery.com/category/events/keyboard-events/) - [Mouse Events](https://api.jquery.com/category/events/mouse-events/) - [Forms](https://api.jquery.com/category/forms/) - [Internals](https://api.jquery.com/category/internals/) - [Manipulation](https://api.jquery.com/category/manipulation/) - [Class Attribute](https://api.jquery.com/category/manipulation/class-attribute/) - [Copying](https://api.jquery.com/category/manipulation/copying/) - [DOM Insertion, Around](https://api.jquery.com/category/manipulation/dom-insertion-around/) - [DOM Insertion, Inside](https://api.jquery.com/category/manipulation/dom-insertion-inside/) - [DOM Insertion, Outside](https://api.jquery.com/category/manipulation/dom-insertion-outside/) - [DOM Removal](https://api.jquery.com/category/manipulation/dom-removal/) - [DOM Replacement](https://api.jquery.com/category/manipulation/dom-replacement/) - [General Attributes](https://api.jquery.com/category/manipulation/general-attributes/) - [Style Properties](https://api.jquery.com/category/manipulation/style-properties/) - [Miscellaneous](https://api.jquery.com/category/miscellaneous/) - [Collection Manipulation](https://api.jquery.com/category/miscellaneous/collection-manipulation/) - [Data Storage](https://api.jquery.com/category/miscellaneous/data-storage/) - [DOM Element Methods](https://api.jquery.com/category/miscellaneous/dom-element-methods/) - [Setup Methods](https://api.jquery.com/category/miscellaneous/setup-methods/) - [Offset](https://api.jquery.com/category/offset/) - [Properties](https://api.jquery.com/category/properties/) - [Properties of jQuery Object Instances](https://api.jquery.com/category/properties/jquery-object-instance-properties/) - [Properties of the Global jQuery Object](https://api.jquery.com/category/properties/global-jquery-object-properties/) - [Removed](https://api.jquery.com/category/removed/) - [Selectors](https://api.jquery.com/category/selectors/) - [Attribute](https://api.jquery.com/category/selectors/attribute-selectors/) - [Basic](https://api.jquery.com/category/selectors/basic-css-selectors/) - [Basic Filter](https://api.jquery.com/category/selectors/basic-filter-selectors/) - [Child Filter](https://api.jquery.com/category/selectors/child-filter-selectors/) - [Content Filter](https://api.jquery.com/category/selectors/content-filter-selector/) - [Form](https://api.jquery.com/category/selectors/form-selectors/) - [Hierarchy](https://api.jquery.com/category/selectors/hierarchy-selectors/) - [jQuery Extensions](https://api.jquery.com/category/selectors/jquery-selector-extensions/) - [Visibility Filter](https://api.jquery.com/category/selectors/visibility-filter-selectors/) - [Traversing](https://api.jquery.com/category/traversing/) - [Filtering](https://api.jquery.com/category/traversing/filtering/) - [Miscellaneous Traversing](https://api.jquery.com/category/traversing/miscellaneous-traversal/) - [Tree Traversal](https://api.jquery.com/category/traversing/tree-traversal/) - [Utilities](https://api.jquery.com/category/utilities/) - [Version](https://api.jquery.com/category/version/) - [Version 1.0](https://api.jquery.com/category/version/1.0/) - [Version 1.0.4](https://api.jquery.com/category/version/1.0.4/) - [Version 1.1](https://api.jquery.com/category/version/1.1/) - [Version 1.1.2](https://api.jquery.com/category/version/1.1.2/) - [Version 1.1.3](https://api.jquery.com/category/version/1.1.3/) - [Version 1.1.4](https://api.jquery.com/category/version/1.1.4/) - [Version 1.2](https://api.jquery.com/category/version/1.2/) - [Version 1.2.3](https://api.jquery.com/category/version/1.2.3/) - [Version 1.2.6](https://api.jquery.com/category/version/1.2.6/) - [Version 1.3](https://api.jquery.com/category/version/1.3/) - [Version 1.4](https://api.jquery.com/category/version/1.4/) - [Version 1.4.1](https://api.jquery.com/category/version/1.4.1/) - [Version 1.4.2](https://api.jquery.com/category/version/1.4.2/) - [Version 1.4.3](https://api.jquery.com/category/version/1.4.3/) - [Version 1.4.4](https://api.jquery.com/category/version/1.4.4/) - [Version 1.5](https://api.jquery.com/category/version/1.5/) - [Version 1.5.1](https://api.jquery.com/category/version/1.5.1/) - [Version 1.6](https://api.jquery.com/category/version/1.6/) - [Version 1.7](https://api.jquery.com/category/version/1.7/) - [Version 1.8](https://api.jquery.com/category/version/1.8/) - [Version 1.9](https://api.jquery.com/category/version/1.9/) - [Version 1.11 & 2.1](https://api.jquery.com/category/version/1.11-and-2.1/) - [Version 1.12 & 2.2](https://api.jquery.com/category/version/1.12-and-2.2/) - [Version 3.0](https://api.jquery.com/category/version/3.0/) - [Version 3.1](https://api.jquery.com/category/version/3.1/) - [Version 3.2](https://api.jquery.com/category/version/3.2/) - [Version 3.3](https://api.jquery.com/category/version/3.3/) - [Version 3.4](https://api.jquery.com/category/version/3.4/) - [Version 3.5](https://api.jquery.com/category/version/3.5/) - [Version 3.6](https://api.jquery.com/category/version/3.6/) - [Version 3.7](https://api.jquery.com/category/version/3.7/) - [Version 4.0](https://api.jquery.com/category/version/4.0/) ### Books - [![Learning jQuery 4th Edition by Karl Swedberg and Jonathan Chaffer](https://api.jquery.com/wp-content/themes/jquery/content/books/learning-jquery-4th-ed.jpg) Learning jQuery Fourth Edition Karl Swedberg and Jonathan Chaffer](https://www.packtpub.com/en-us/product/learning-jquery-fourth-edition-9781782163152) - [![jQuery in Action by Bear Bibeault, Yehuda Katz, and Aurelio De Rosa](https://api.jquery.com/wp-content/themes/jquery/content/books/jquery-in-action.jpg) jQuery in Action Bear Bibeault, Yehuda Katz, and Aurelio De Rosa](https://www.manning.com/books/jquery-in-action-third-edition) - [![jQuery Succinctly by Cody Lindley](https://api.jquery.com/wp-content/themes/jquery/content/books/jquery-succinctly.jpg) jQuery Succinctly Cody Lindley](https://www.syncfusion.com/ebooks/jquery) - [Learning Center](https://learn.jquery.com/) - [Chat](https://jquery.com/support/) - [Twitter](https://twitter.com/jquery) - [GitHub](https://github.com/jquery) Copyright 2026 [OpenJS Foundation](https://openjsf.org/) and jQuery contributors. All rights reserved. See [jQuery License](https://jquery.com/license/) for more information. The [OpenJS Foundation](https://openjsf.org/) has registered trademarks and uses trademarks. For a list of trademarks of the [OpenJS Foundation](https://openjsf.org/), please see our [Trademark Policy](https://trademark-policy.openjsf.org/) and [Trademark List](https://trademark-list.openjsf.org/). Trademarks and logos not indicated on the [list of OpenJS Foundation trademarks](https://trademark-list.openjsf.org/) are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them. OpenJS Foundation [Terms of Use](https://terms-of-use.openjsf.org/), [Privacy](https://privacy-policy.openjsf.org/), [Code of Conduct](https://code-of-conduct.openjsf.org/), and [Cookie](https://www.linuxfoundation.org/cookies) Policies also apply. [Web hosting by Digital Ocean](https://www.digitalocean.com/) \| [CDN by Fastly](https://www.fastly.com/) \| [Powered by WordPress](https://wordpress.org/)
Readable Markdown
## jQuery API jQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers. If you're new to jQuery, we recommend that you check out the [jQuery Learning Center](https://learn.jquery.com/). If you're updating to a newer version of jQuery, be sure to read the release notes published on [our blog](https://blog.jquery.com/). If you're coming from a version prior 1.9, you should check out the [1\.9 Upgrade Guide](https://jquery.com/upgrade-guide/1.9/) as well. Note that this is the API documentation for jQuery core. Other projects have API docs in other locations: - [jQuery UI API docs](https://api.jqueryui.com/) - [jQuery Mobile API docs](https://api.jquerymobile.com/) - [QUnit API docs](https://api.qunitjs.com/) *** Create a new jQuery object with elements added to the set of matched elements. Add the previous set of elements on the stack to the current set, optionally filtered by a selector. Adds the specified class(es) to each element in the set of matched elements. Insert content, specified by the parameter, after each element in the set of matched elements. Register a handler to be called when Ajax requests complete. This is an AjaxEvent. Register a handler to be called when Ajax requests complete. This is an AjaxEvent. Register a handler to be called when Ajax requests complete with an error. This is an Ajax Event. Register a handler to be called when Ajax requests complete with an error. This is an Ajax Event. Attach a function to be executed before an Ajax request is sent. This is an Ajax Event. Attach a function to be executed before an Ajax request is sent. This is an Ajax Event. Register a handler to be called when the first Ajax request begins. This is an Ajax Event. Register a handler to be called when the first Ajax request begins. This is an Ajax Event. Register a handler to be called when all Ajax requests have completed. This is an Ajax Event. Register a handler to be called when all Ajax requests have completed. This is an Ajax Event. Attach a function to be executed whenever an Ajax request completes successfully. This is an Ajax Event. Attach a function to be executed whenever an Ajax request completes successfully. This is an Ajax Event. Selects all elements. Add the previous set of elements on the stack to the current set. Perform a custom animation of a set of CSS properties. Select all elements that are in the progress of an animation at the time the selector is run. Insert content, specified by the parameter, to the end of each element in the set of matched elements. Insert every element in the set of matched elements to the end of the target. Get the value of an attribute for the first element in the set of matched elements or set one or more attributes for every matched element. Selects elements that have the specified attribute with a value either equal to a given string or starting with that string followed by a hyphen (-). Selects elements that have the specified attribute with a value containing a given substring. Selects elements that have the specified attribute with a value containing a given word, delimited by spaces. Selects elements that have the specified attribute with a value ending exactly with a given string. The comparison is case sensitive. Selects elements that have the specified attribute with a value exactly equal to a certain value. Select elements that either don’t have the specified attribute, or do have the specified attribute but not with a certain value. Selects elements that have the specified attribute with a value beginning exactly with a given string. Insert content, specified by the parameter, before each element in the set of matched elements. Attach a handler to an event for the elements. Bind an event handler to the “blur” event, or trigger that event on an element. Bind an event handler to the “blur” event, or trigger that event on an element. Selects all button elements and elements of type button. Add a callback or a collection of callbacks to a callback list. Disable a callback list from doing anything more. Determine if the callbacks list has been disabled. Remove all of the callbacks from a list. Call all of the callbacks with the given arguments. Determine if the callbacks have already been called at least once. Call all callbacks in a list with the given context and arguments. Determine whether or not the list has any callbacks attached. If a callback is provided as an argument, determine whether it is in a list. Lock a callback list in its current state. Determine if the callbacks list has been locked. Remove a callback or a collection of callbacks from a callback list. Bind an event handler to the “change” event, or trigger that event on an element. Bind an event handler to the “change” event, or trigger that event on an element. Selects all elements of type checkbox. Matches all elements that are checked or selected. Selects all direct child elements specified by “child” of elements specified by “parent”. Get the children of each element in the set of matched elements, optionally filtered by a selector. Selects all elements with the given class. Remove from the queue all items that have not yet been run. Bind an event handler to the “click” event, or trigger that event on an element. Bind an event handler to the “click” event, or trigger that event on an element. Create a deep copy of the set of matched elements. For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree. Select all elements that contain the specified text. Get the children of each element in the set of matched elements, including text and comment nodes. The DOM node context originally passed to jQuery(); if none was passed then context will likely be the document. Bind an event handler to the “contextmenu” event, or trigger that event on an element. Bind an event handler to the “contextmenu” event, or trigger that event on an element. Get the value of a computed style property for the first element in the set of matched elements or set one or more CSS properties for every matched element. Store arbitrary data associated with the matched elements or return the value at the named data store for the first element in the set of matched elements. Bind an event handler to the “dblclick” event, or trigger that event on an element. Bind an event handler to the “dblclick” event, or trigger that event on an element. Add handlers to be called when the Deferred object is either resolved or rejected. Add handlers to be called when the Deferred object is rejected. Add handlers to be called when the Deferred object is resolved. Add handlers to be called when the Deferred object is rejected. Determine whether a Deferred object has been rejected. Determine whether a Deferred object has been resolved. Call the progressCallbacks on a Deferred object with the given args. Call the progressCallbacks on a Deferred object with the given context and args. Utility method to filter and/or chain Deferreds. Add handlers to be called when the Deferred object generates progress notifications. Return a Deferred’s Promise object. Reject a Deferred object and call any failCallbacks with the given args. Reject a Deferred object and call any failCallbacks with the given context and args. Resolve a Deferred object and call any doneCallbacks with the given args. Resolve a Deferred object and call any doneCallbacks with the given context and args. Determine the current state of a Deferred object. Add handlers to be called when the Deferred object is resolved, rejected, or still in progress. Set a timer to delay execution of subsequent items in the queue. Attach a handler to one or more events for all elements that match the selector, now or in the future, based on a specific set of root elements. Execute the next function on the queue for the matched elements. Selects all elements that are descendants of a given ancestor. Remove the set of matched elements from the DOM. Remove event handlers previously attached using .live() from the elements. Selects all elements that are disabled. Iterate over a jQuery object, executing a function for each matched element. Selects all elements with the given tag name. Remove all child nodes of the set of matched elements from the DOM. Select all elements that have no children (including text nodes). Selects all elements that are enabled. End the most recent filtering operation in the current chain and return the set of matched elements to its previous state. Reduce the set of matched elements to the one at the specified index. Select the element at index n within the matched set. Bind an event handler to the “error” event, or trigger that event on an element. Bind an event handler to the “error” event, or trigger that event on an element. Reduce the set of matched elements to the even ones in the set, numbered from zero. Selects even elements, zero-indexed. See also :odd. The current DOM element within the event bubbling phase. An optional object of data passed to an event method when the current executing handler is bound. The element where the currently-called jQuery event handler was attached. Returns whether event.preventDefault() was ever called on this event object. Returns whether event.stopImmediatePropagation() was ever called on this event object. Returns whether event.stopPropagation() was ever called on this event object. Indicates whether the META key was pressed when the event fired. The namespace specified when the event was triggered. The mouse position relative to the left edge of the document. The mouse position relative to the top edge of the document. If this method is called, the default action of the event will not be triggered. The other DOM element involved in the event, if any. The last value returned by an event handler that was triggered by this event, unless the value was undefined. Keeps the rest of the handlers from being executed and prevents the event from bubbling up the DOM tree. Prevents the event from bubbling up the DOM tree, preventing any parent handlers from being notified of the event. The DOM element that initiated the event. The difference in milliseconds between the time the browser created the event and January 1, 1970. Describes the nature of the event. For key or mouse events, this property indicates the specific key or button that was pressed. Display the matched elements by fading them to opaque. Hide the matched elements by fading them to transparent. Adjust the opacity of the matched elements. Display or hide the matched elements by animating their opacity. Selects all elements of type file. Reduce the set of matched elements to those that match the selector or pass the function’s test. Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element. Stop the currently-running animation, remove all queued animations, and complete all animations for the matched elements. Reduce the set of matched elements to the first in the set. Selects all elements that are the first child of their parent. Selects all elements that are the first among siblings of the same element name. Selects the first matched DOM element. Bind an event handler to the “focus” event, or trigger that event on an element. Selects element if it is currently focused. Bind an event handler to the “focus” event, or trigger that event on an element. Bind an event handler to the “focusin” event, or trigger that event on an element. Bind an event handler to the “focusin” event, or trigger that event on an element. Bind an event handler to the “focusout” event, or trigger that event on an element. Bind an event handler to the “focusout” event, or trigger that event on an element. Retrieve the DOM elements matched by the jQuery object. Select all elements at an index greater than index within the matched set. Reduce the set of matched elements to those that have a descendant that matches the selector or DOM element. Selects elements that have the specified attribute, with any value. Selects elements which contain at least one element that matches the specified selector. Determine whether any of the matched elements are assigned the given class. Selects all elements that are headers, like h1, h2, h3 and so on. Get the current computed height for the first element in the set of matched elements or set the height of every matched element. Selects all elements that are hidden. Hide the matched elements. Bind one or two handlers to the matched elements, to be executed when the mouse pointer enters and leaves the elements. Get the HTML contents of the first element in the set of matched elements or set the HTML contents of every matched element. Selects a single element with the given id attribute. Selects all elements of type image. Search for a given element from among the matched elements. Get the current computed inner height (including padding but not border) for the first element in the set of matched elements or set the inner height of every matched element. Get the current computed inner width (including padding but not border) for the first element in the set of matched elements or set the inner width of every matched element. Selects all input, textarea, select and button elements. Insert every element in the set of matched elements after the target. Insert every element in the set of matched elements before the target. Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments. Return a collection of matched elements either found in the DOM based on passed argument(s) or created by passing an HTML string. A string containing the jQuery version number. Perform an asynchronous HTTP (Ajax) request. Handle custom Ajax options or modify existing options before each request is sent and before they are processed by \$.ajax(). Set default values for future Ajax requests. Its use is not recommended. Creates an object that handles the actual transmission of Ajax data. States if the current page, in the user’s browser, is being rendered using the W3C CSS Box Model. Contains flags for the useragent, read from navigator.userAgent. This property was removed in jQuery 1.9 and is available only through the jQuery.migrate plugin. Please try to use feature detection instead. A multi-purpose callbacks list object that provides a powerful way to manage callback lists. Check to see if a DOM element is a descendant of another DOM element. Hook directly into jQuery to override how particular CSS properties are retrieved or set, normalize CSS property naming, or create custom properties. An object containing all CSS properties that may be used without a unit. Prior to jQuery 4.0, the .css() method uses this object to see if it may append px to unitless values. Store arbitrary data associated with the specified element and/or return the value that was set. A factory function that returns a chainable utility object with methods to register multiple callbacks into callback queues, invoke callback queues, and relay the success or failure state of any synchronous or asynchronous function. Handle errors produced by Deferreds. Return an Error instance with a defined stack. Return an Error instance with a defined stack. Execute the next function on the queue for the matched element. 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. Takes a string and throws an exception containing it. Escapes any character that has a special meaning in a CSS selector. Merge the contents of two or more objects together into the first object. The jQuery selector engine, formerly known as Sizzle, is exposed under jQuery.find. This page describes all the APIs under jQuery.find. Merge the contents of an object onto the jQuery prototype to provide new jQuery instance methods. The rate (in milliseconds) at which animations fire. Globally disable all animations. Load data from the server using a HTTP GET request. Load JSON-encoded data from the server using a GET HTTP request. Load a JavaScript file from the server using a GET HTTP request, then execute it. Execute some JavaScript code globally. Finds the elements of an array which satisfy a filter function. The original array is not affected. Determine whether an element has any jQuery data associated with it. Holds or releases the execution of jQuery’s ready event. Modify and filter HTML strings passed through jQuery manipulation methods. Search for a specified value within an array and return its index (or -1 if not found). Determine whether the argument is an array. Check to see if an object is empty (contains no enumerable properties). Determines if its argument is callable as a function. Determines whether its argument represents a JavaScript number. Check to see if an object is a plain object (created using “{}” or “new Object”). Determine whether the argument is a window. Check to see if a DOM node is within an XML document (or is an XML document). Convert an array-like object into a true JavaScript array. Translate all items in an array or object to new array of items. Merge the contents of two arrays together into the first array. Relinquish jQuery’s control of the \$ variable. An empty function. Return a number representing the current time. Create a serialized representation of an array, a plain object, or a jQuery object suitable for use in a URL query string or Ajax request. In case a jQuery object is passed, it should contain input elements with name/value properties. Parses a string into an array of DOM nodes. Takes a well-formed JSON string and returns the resulting JavaScript value. Parses a string into an XML document. Send data to the server using a HTTP POST request. Takes a function and returns a new one that will always have a particular context. Show or manipulate the queue of functions to be executed on the matched element. A Promise-like object (or “thenable”) that resolves when the document is ready. Handles errors thrown synchronously in functions wrapped in jQuery(). Remove a previously-stored piece of data. Creates an object containing a set of properties ready to be used in the definition of custom animations. Creates a new copy of jQuery whose properties and methods can be modified without affecting the original jQuery object. A collection of properties that represent the presence of different browser features or bugs; intended for jQuery’s internal use. Remove the whitespace from the beginning and end of a string. Determine the internal JavaScript \[\[Class\]\] of an object. 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. Sorts an array or an array-like object of DOM elements, in place, with the duplicates removed. Note that this only works on arrays/array-likes of DOM elements, not strings or numbers. Provides a way to execute callback functions based on zero or more Thenable objects, usually Deferred objects that represent asynchronous events. Bind an event handler to the “keydown” event, or trigger that event on an element. Bind an event handler to the “keydown” event, or trigger that event on an element. Bind an event handler to the “keypress” event, or trigger that event on an element. Bind an event handler to the “keypress” event, or trigger that event on an element. Bind an event handler to the “keyup” event, or trigger that event on an element. Bind an event handler to the “keyup” event, or trigger that event on an element. Selects all elements of the specified language. Reduce the set of matched elements to the final one in the set. Selects all elements that are the last child of their parent. Selects all elements that are the last among siblings of the same element name. Selects the last matched element. The number of elements in the jQuery object. Attach an event handler for all elements which match the current selector, now and in the future. Load data from the server and place the returned HTML into the matched elements. Bind an event handler to the “load” event, or trigger that event on an element. Bind an event handler to the “load” event, or trigger that event on an element. Select all elements at an index less than index within the matched set. Pass each element in the current matched set through a function, producing a new jQuery object containing the return values. Bind an event handler to the “mousedown” event, or trigger that event on an element. Bind an event handler to the “mousedown” event, or trigger that event on an element. Bind an event handler to be fired when the mouse enters an element, or trigger that handler on an element. Bind an event handler to the “mouseenter” event, or trigger that event on an element. Bind an event handler to be fired when the mouse leaves an element, or trigger that handler on an element. Bind an event handler to the “mouseleave” event, or trigger that event on an element. Bind an event handler to the “mousemove” event, or trigger that event on an element. Bind an event handler to the “mousemove” event, or trigger that event on an element. Bind an event handler to the “mouseout” event, or trigger that event on an element. Bind an event handler to the “mouseout” event, or trigger that event on an element. Bind an event handler to the “mouseover” event, or trigger that event on an element. Bind an event handler to the “mouseover” event, or trigger that event on an element. Bind an event handler to the “mouseup” event, or trigger that event on an element. Bind an event handler to the “mouseup” event, or trigger that event on an element. Matches elements that match all of the specified attribute filters. Selects the combined results of all the specified selectors. Get the immediately following sibling of each element in the set of matched elements. If a selector is provided, it retrieves the next sibling only if it matches that selector. Selects all next elements matching “next” that are immediately preceded by a sibling “prev”. Selects all sibling elements that follow after the “prev” element, have the same parent, and match the filtering “siblings” selector. Get all following siblings of each element in the set of matched elements, optionally filtered by a selector. Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed. Remove elements from the set of matched elements. Selects all elements that do not match the given selector. Selects all elements that are the nth-child of their parent. Selects all elements that are the nth-child of their parent, counting from the last element to the first. Selects all the elements that are the nth-child of their parent in relation to siblings with the same element name, counting from the last element to the first. Selects all elements that are the nth child of their parent in relation to siblings with the same element name. Reduce the set of matched elements to the odd ones in the set, numbered from zero. Selects odd elements, zero-indexed. See also :even. Remove an event handler. Get the current coordinates of the first element, or set the coordinates of every element, in the set of matched elements, relative to the document. Get the closest ancestor element that is positioned. Attach an event handler function for one or more events to the selected elements. Attach a handler to an event for the elements. The handler is executed at most once per element per event type. Selects all elements that are the only child of their parent. Selects all elements that have no siblings with the same element name. Get the current computed outer height (including padding, border, and optionally margin) for the first element in the set of matched elements or set the outer height of every matched element. Get the current computed outer width (including padding, border, and optionally margin) for the first element in the set of matched elements or set the outer width of every matched element. Get the parent of each element in the current set of matched elements, optionally filtered by a selector. Select all elements that have at least one child node (either an element or text). Get the ancestors of each element in the current set of matched elements, optionally filtered by a selector. Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object. Selects all elements of type password. Get the current coordinates of the first element in the set of matched elements, relative to the offset parent. Insert content, specified by the parameter, to the beginning of each element in the set of matched elements. Insert every element in the set of matched elements to the beginning of the target. Get the immediately preceding sibling of each element in the set of matched elements. If a selector is provided, it retrieves the previous sibling only if it matches that selector. Get all preceding siblings of each element in the set of matched elements, optionally filtered by a selector, in the reverse document order. Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object. Return a Promise object to observe when all actions of a certain type bound to the collection, queued or not, have finished. Get the value of a property for the first element in the set of matched elements or set one or more properties for every matched element. Add a collection of DOM elements onto the jQuery stack. Show or manipulate the queue of functions to be executed on the matched elements. Selects all elements of type radio. Specify a function to execute when the DOM is fully loaded. Remove the set of matched elements from the DOM. Remove an attribute from each element in the set of matched elements. Remove a single class, multiple classes, or all classes from each element in the set of matched elements. Remove a previously-stored piece of data. Remove a property for the set of matched elements. Replace each target element with the set of matched elements. Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed. Selects all elements of type reset. Bind an event handler to the “resize” event, or trigger that event on an element. Bind an event handler to the “resize” event, or trigger that event on an element. Selects the element that is the root of the document. Bind an event handler to the “scroll” event, or trigger that event on an element. Bind an event handler to the “scroll” event, or trigger that event on an element. Get the current horizontal position of the scroll bar for the first element in the set of matched elements or set the horizontal position of the scroll bar for every matched element. Get the current vertical position of the scroll bar for the first element in the set of matched elements or set the vertical position of the scroll bar for every matched element. Bind an event handler to the “select” event, or trigger that event on an element. Bind an event handler to the “select” event, or trigger that event on an element. Selects all elements that are selected. A selector representing selector passed to jQuery(), if any, when creating the original set. Encode a set of form elements as a string for submission. Encode a set of form elements as an array of names and values. Display the matched elements. Get the siblings of each element in the set of matched elements, optionally filtered by a selector. Return the number of elements in the jQuery object. Reduce the set of matched elements to a subset specified by a range of indices. Display the matched elements with a sliding motion. Display or hide the matched elements with a sliding motion. Hide the matched elements with a sliding motion. Stop the currently-running animation on the matched elements. Bind an event handler to the “submit” event, or trigger that event on an element. Selects all elements of type submit. Bind an event handler to the “submit” event, or trigger that event on an element. Selects the target element indicated by the fragment identifier of the document’s URI. Get the combined text contents of each element in the set of matched elements, including their descendants, or set the text contents of the matched elements. Selects all input elements of type text. Retrieve all the elements contained in the jQuery set, as an array. Display or hide the matched elements. Bind two or more handlers to the matched elements, to be executed on alternate clicks. Add or remove one or more classes from each element in the set of matched elements, depending on either the class’s presence or the value of the state argument. Execute all handlers and behaviors attached to the matched elements for the given event type. Execute all handlers attached to an element for an event. Remove a previously-attached event handler from the elements. Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements. Sorts a jQuery object of DOM elements, in place, with the duplicates removed. Note that this only works on jQuery objects consisting of DOM elements, not strings or numbers. Bind an event handler to the “unload” event, or trigger that event on an element. Bind an event handler to the “unload” event, or trigger that event on an element. Remove the parents of the set of matched elements from the DOM, leaving the matched elements in their place. Get the current value of the first element in the set of matched elements or set the value of every matched element. Selects all elements that are visible. Get the current computed width for the first element in the set of matched elements or set the width of every matched element. Wrap an HTML structure around each element in the set of matched elements. Wrap an HTML structure around all elements in the set of matched elements. Wrap an HTML structure around the content of each element in the set of matched elements.
Shard53 (laksa)
Root Hash657907979407719853
Unparsed URLcom,jquery!api,/ s443