Jquery API Documentation PDF
Jquery API Documentation PDF
foundation/events)
#BlackLivesMatter
To Donate, see this list of organizations to support
(https://bit.ly/fundthecommunity) from Reclaim the
Block (https://www.reclaimtheblock.org/)
(https://js.foundation/about/donate)
Blog (https://blog.jquery.com/)
Plugins (https://plugins.jquery.com/)
Ajax
(//api.jquery.com/category/ajax/)
jQuery API
Global Ajax Event jQuery is a fast, small, and feature-rich JavaScript library. It makes things
Handlers like HTML document traversal and manipulation, event handling, animation,
and Ajax much simpler with an easy-to-use API that works across a
(//api.jquery.com/category/ajax/global-
ajax-event- multitude of browsers. If you're new to jQuery, we recommend that you
handlers/) check out the jQuery Learning Center (https://learn.jquery.com/).
Helper Functions 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
(//api.jquery.com/category/ajax/helper-
functions/) a version prior 1.9, you should check out the 1.9 Upgrade Guide
(https://jquery.com/upgrade-guide/1.9/) as well.
Low-Level
Interface Note that this is the API documentation for jQuery core. Other projects have
API docs in other locations: /
(//api.jquery.com/category/ajax/low-
jQuery UI API docs (https://api.jqueryui.com/)
level-interface/)
jQuery Mobile API docs (https://api.jquerymobile.com)
Shorthand
QUnit API docs (https://api.qunitjs.com)
Methods
(//api.jquery.com/category/ajax/shorthand-
methods/)
Traversing (//api.jquery.com/category/traversing/) > Miscellaneous Traversing
Attributes (//api.jquery.com/category/traversing/miscellaneous-traversal/)
(//api.jquery.com/category/attributes/)
.add() (//api.jquery.com/add/)
Callbacks Object Create a new jQuery object with elements added to the set of matched
(//api.jquery.com/category/callbacks-
elements.
object/)
Deprecated 1.7
Manipulation (//api.jquery.com/category/manipulation/) > DOM Insertion, Outside
(//api.jquery.com/category/deprecated/deprecated-
(//api.jquery.com/category/manipulation/dom-insertion-outside/)
1.7/)
.after() (//api.jquery.com/after/)
Deprecated 1.8
Insert content, specified by the parameter, after each element in the
(//api.jquery.com/category/deprecated/deprecated-
set of matched elements.
1.8/)
Deprecated 1.9
Ajax (//api.jquery.com/category/ajax/) > Global Ajax Event Handlers
(//api.jquery.com/category/deprecated/deprecated-
1.9/) (//api.jquery.com/category/ajax/global-ajax-event-handlers/)
Deprecated 3.0
(//api.jquery.com/category/deprecated/deprecated-
/
3.0/)
Ajax (//api.jquery.com/category/ajax/) > Global Ajax Event Handlers
Deprecated 3.2 (//api.jquery.com/category/ajax/global-ajax-event-handlers/)
(//api.jquery.com/category/deprecated/deprecated-
.ajaxError() (//api.jquery.com/ajaxError/)
3.2/)
Register a handler to be called when Ajax requests complete with an
Deprecated 3.3 error. This is an Ajax Event.
(//api.jquery.com/category/deprecated/deprecated-
3.3/)
Ajax (//api.jquery.com/category/ajax/) > Global Ajax Event Handlers
Deprecated 3.4
(//api.jquery.com/category/ajax/global-ajax-event-handlers/)
(//api.jquery.com/category/deprecated/deprecated-
3.4/) .ajaxSend() (//api.jquery.com/ajaxSend/)
Attach a function to be executed before an Ajax request is sent. This
Deprecated 3.5
is an Ajax Event.
(//api.jquery.com/category/deprecated/deprecated-
3.5/)
Ajax (//api.jquery.com/category/ajax/) > Global Ajax Event Handlers
Dimensions (//api.jquery.com/category/ajax/global-ajax-event-handlers/)
(//api.jquery.com/category/dimensions/)
.ajaxStart() (//api.jquery.com/ajaxStart/)
Effects Register a handler to be called when the first Ajax request begins.
(//api.jquery.com/category/effects/)
This is an Ajax Event.
Basics
(//api.jquery.com/category/effects/basics/)
Ajax (//api.jquery.com/category/ajax/) > Global Ajax Event Handlers
Custom (//api.jquery.com/category/ajax/global-ajax-event-handlers/)
(//api.jquery.com/category/effects/custom-
.ajaxStop() (//api.jquery.com/ajaxStop/)
effects/)
Register a handler to be called when all Ajax requests have
Fading completed. This is an Ajax Event.
(//api.jquery.com/category/effects/fading/)
Sliding
Ajax (//api.jquery.com/category/ajax/) > Global Ajax Event Handlers
(//api.jquery.com/category/effects/sliding/)
(//api.jquery.com/category/ajax/global-ajax-event-handlers/)
.ajaxSuccess() (//api.jquery.com/ajaxSuccess/)
Events
Attach a function to be executed whenever an Ajax request completes
(//api.jquery.com/category/events/)
successfully. This is an Ajax Event.
Browser Events
(//api.jquery.com/category/events/browser-
events/) Selectors (//api.jquery.com/category/selectors/) > Basic
(//api.jquery.com/category/events/document-
All Selector (“*”) (//api.jquery.com/all-selector/)
loading/)
Selects all elements.
Event Handler
Attachment
(//api.jquery.com/category/events/event-
handler-
attachment/) /
Event Object Deprecated (//api.jquery.com/category/deprecated/) > Deprecated 1.8
(//api.jquery.com/category/events/event-
(//api.jquery.com/category/deprecated/deprecated-1.8/) | Traversing
object/) (//api.jquery.com/category/traversing/) > Miscellaneous Traversing
(//api.jquery.com/category/traversing/miscellaneous-traversal/) | Removed
Form Events
(//api.jquery.com/category/removed/)
(//api.jquery.com/category/events/form-
events/) .andSelf() (//api.jquery.com/andSelf/)
Keyboard Events Add the previous set of elements on the stack to the current set.
(//api.jquery.com/category/events/keyboard-
events/)
Effects (//api.jquery.com/category/effects/) > Custom
Mouse Events (//api.jquery.com/category/effects/custom-effects/)
(//api.jquery.com/category/events/mouse-
.animate() (//api.jquery.com/animate/)
events/)
Perform a custom animation of a set of CSS properties.
Forms
(//api.jquery.com/category/forms/)Selectors (//api.jquery.com/category/selectors/) > Basic Filter
(//api.jquery.com/category/selectors/basic-filter-selectors/) | Selectors
Internals
(//api.jquery.com/category/selectors/) > jQuery Extensions
(//api.jquery.com/category/internals/)
(//api.jquery.com/category/selectors/jquery-selector-extensions/)
Manipulation
:animated Selector (//api.jquery.com/animated-
(//api.jquery.com/category/manipulation/)
Class Attribute selector/)
(//api.jquery.com/category/manipulation/class-
Select all elements that are in the progress of an animation at the time
attribute/) the selector is run.
Copying
(//api.jquery.com/category/manipulation/copying/)
Manipulation (//api.jquery.com/category/manipulation/) > DOM Insertion, Inside
DOM Insertion, (//api.jquery.com/category/manipulation/dom-insertion-inside/)
.attr() (//api.jquery.com/attr/)
/
DOM Get the value of an attribute for the first element in the set of matched
Replacement elements or set one or more attributes for every matched element.
(//api.jquery.com/category/manipulation/dom-
replacement/)
Selectors (//api.jquery.com/category/selectors/) > Attribute
General Attributes (//api.jquery.com/category/selectors/attribute-selectors/)
(//api.jquery.com/category/manipulation/general-
Attribute Contains Prefix Selector [name|=”value”]
attributes/)
(//api.jquery.com/attribute-contains-prefix-selector/)
Style Properties
Selects elements that have the specified attribute with a value either
(//api.jquery.com/category/manipulation/style-
properties/) equal to a given string or starting with that string followed by a hyphen
(-).
Miscellaneous
(//api.jquery.com/category/miscellaneous/)
Selectors (//api.jquery.com/category/selectors/) > Attribute
Collection (//api.jquery.com/category/selectors/attribute-selectors/)
Version 1.1.2
Callbacks Object (//api.jquery.com/category/callbacks-object/)
(//api.jquery.com/category/version/1.1.2/)
callbacks.disabled()
Version 1.1.3
(//api.jquery.com/category/version/1.1.3/)
(//api.jquery.com/callbacks.disabled/)
Version 1.1.4 Determine if the callbacks list has been disabled.
(//api.jquery.com/category/version/1.1.4/)
Version 1.2.6
Callbacks Object (//api.jquery.com/category/callbacks-object/)
callbacks.fire()
(//api.jquery.com/category/version/1.2.6/)
Version 1.4.1
callbacks.fired() Callbacks Object (//api.jquery.com/category/callbacks-object/)
(//api.jquery.com/category/version/1.4.1/)
(//api.jquery.com/callbacks.fired/)
Version 1.4.2 Determine if the callbacks have already been called at least once.
(//api.jquery.com/category/version/1.4.2/)
/
Version 1.4.3 Callbacks Object (//api.jquery.com/category/callbacks-object/)
(//api.jquery.com/category/version/1.4.3/)
callbacks.fireWith()
Version 1.4.4
(//api.jquery.com/callbacks.fireWith/)
(//api.jquery.com/category/version/1.4.4/)
Call all callbacks in a list with the given context and arguments.
Version 1.5
(//api.jquery.com/category/version/1.5/)
(//api.jquery.com/category/version/3.1/)
callbacks.remove()
Version 3.2
(//api.jquery.com/callbacks.remove/)
(//api.jquery.com/category/version/3.2/)
Remove a callback or a collection of callbacks from a callback list.
Version 3.3
(//api.jquery.com/category/version/3.3/)
Events (//api.jquery.com/category/events/) > Form Events
Version 3.4
(//api.jquery.com/category/events/form-events/) | Forms
(//api.jquery.com/category/version/3.4/)
(//api.jquery.com/category/forms/)
Version 3.5
.change() (//api.jquery.com/change/)
(//api.jquery.com/category/version/3.5/)
Bind an event handler to the “change” JavaScript event, or trigger that
event on an element.
/
Selectors (//api.jquery.com/category/selectors/) > Form
(//api.jquery.com/category/selectors/form-selectors/) | Selectors
(//api.jquery.com/category/selectors/) > jQuery Extensions
(//api.jquery.com/category/selectors/jquery-selector-extensions/)
.children() (//api.jquery.com/children/)
Get the children of each element in the set of matched elements,
optionally filtered by a selector.
.clearQueue() (//api.jquery.com/clearQueue/)
Remove from the queue all items that have not yet been run. /
Events (//api.jquery.com/category/events/) > Mouse Events
(//api.jquery.com/category/events/mouse-events/)
.click() (//api.jquery.com/click/)
Bind an event handler to the “click” JavaScript event, or trigger that
event on an element.
.clone() (//api.jquery.com/clone/)
Create a deep copy of the set of matched elements.
.closest() (//api.jquery.com/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.
.contents() (//api.jquery.com/contents/)
Get the children of each element in the set of matched elements,
including text and comment nodes.
.context (//api.jquery.com/context/)
/
The DOM node context originally passed to jQuery(); if none was
passed then context will likely be the document.
.contextmenu() (//api.jquery.com/contextmenu/)
Bind an event handler to the “contextmenu” JavaScript event, or
trigger that event on an element.
.css() (//api.jquery.com/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() (//api.jquery.com/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.
.dblclick() (//api.jquery.com/dblclick/)
Bind an event handler to the “dblclick” JavaScript event, or trigger that
event on an element.
deferred.always() (//api.jquery.com/deferred.always/)
Add handlers to be called when the Deferred object is either resolved
or rejected.
deferred.isRejected()
(//api.jquery.com/deferred.isRejected/)
Determine whether a Deferred object has been rejected.
deferred.isResolved()
(//api.jquery.com/deferred.isResolved/)
Determine whether a Deferred object has been resolved.
deferred.notifyWith()
(//api.jquery.com/deferred.notifyWith/)
Call the progressCallbacks on a Deferred object with the given context
and args. /
Deferred Object (//api.jquery.com/category/deferred-object/) | Deprecated
(//api.jquery.com/category/deprecated/) > Deprecated 1.8
(//api.jquery.com/category/deprecated/deprecated-1.8/)
deferred.pipe() (//api.jquery.com/deferred.pipe/)
Utility method to filter and/or chain Deferreds.
deferred.progress()
(//api.jquery.com/deferred.progress/)
Add handlers to be called when the Deferred object generates
progress notifications.
deferred.promise()
(//api.jquery.com/deferred.promise/)
Return a Deferred’s Promise object.
deferred.rejectWith()
(//api.jquery.com/deferred.rejectWith/)
Reject a Deferred object and call any failCallbacks with the given
context and args.
deferred.resolve() (//api.jquery.com/deferred.resolve/)
Resolve a Deferred object and call any doneCallbacks with the given
args.
/
Deferred Object (//api.jquery.com/category/deferred-object/)
deferred.resolveWith()
(//api.jquery.com/deferred.resolveWith/)
Resolve a Deferred object and call any doneCallbacks with the given
context and args.
.delay() (//api.jquery.com/delay/)
Set a timer to delay execution of subsequent items in the queue.
.delegate() (//api.jquery.com/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.
.dequeue() (//api.jquery.com/dequeue/)
Execute the next function on the queue for the matched elements.
.detach() (//api.jquery.com/detach/)
Remove the set of matched elements from the DOM.
.die() (//api.jquery.com/die/)
Remove event handlers previously attached using .live() from the
elements.
.each() (//api.jquery.com/each/)
Iterate over a jQuery object, executing a function for each matched
element.
.empty() (//api.jquery.com/empty/) /
Manipulation (//api.jquery.com/category/manipulation/) > DOM Removal
(//api.jquery.com/category/manipulation/dom-removal/)
Remove all child nodes of the set of matched elements from the DOM.
.end() (//api.jquery.com/end/)
End the most recent filtering operation in the current chain and return
the set of matched elements to its previous state.
.eq() (//api.jquery.com/eq/)
Reduce the set of matched elements to the one at the specified index.
.even() (//api.jquery.com/even/)
Reduce the set of matched elements to the even ones in the set,
numbered from zero.
event.currentTarget
(//api.jquery.com/event.currentTarget/)
The current DOM element within the event bubbling phase.
event.data (//api.jquery.com/event.data/)
An optional object of data passed to an event method when the
current executing handler is bound.
event.delegateTarget
(//api.jquery.com/event.delegateTarget/)
The element where the currently-called jQuery event handler was
attached.
/
Events (//api.jquery.com/category/events/) > Event Object
(//api.jquery.com/category/events/event-object/)
event.isDefaultPrevented()
(//api.jquery.com/event.isDefaultPrevented/)
Returns whether event.preventDefault() was ever called on this event
object.
event.isImmediatePropagationStopped()
(//api.jquery.com/event.isImmediatePropagationStopped/)
Returns whether event.stopImmediatePropagation() was ever called
on this event object.
event.isPropagationStopped()
(//api.jquery.com/event.isPropagationStopped/)
Returns whether event.stopPropagation() was ever called on this
event object.
event.metaKey (//api.jquery.com/event.metaKey/)
Indicates whether the META key was pressed when the event fired.
event.namespace (//api.jquery.com/event.namespace/)
The namespace specified when the event was triggered.
event.pageX (//api.jquery.com/event.pageX/)
The mouse position relative to the left edge of the document.
/
Events (//api.jquery.com/category/events/) > Event Object
(//api.jquery.com/category/events/event-object/)
event.pageY (//api.jquery.com/event.pageY/)
The mouse position relative to the top edge of the document.
event.preventDefault()
(//api.jquery.com/event.preventDefault/)
If this method is called, the default action of the event will not be
triggered.
event.relatedTarget
(//api.jquery.com/event.relatedTarget/)
The other DOM element involved in the event, if any.
event.result (//api.jquery.com/event.result/)
The last value returned by an event handler that was triggered by this
event, unless the value was undefined.
event.stopImmediatePropagation()
(//api.jquery.com/event.stopImmediatePropagation/)
Keeps the rest of the handlers from being executed and prevents the
event from bubbling up the DOM tree.
event.stopPropagation()
(//api.jquery.com/event.stopPropagation/)
/
Prevents the event from bubbling up the DOM tree, preventing any
parent handlers from being notified of the event.
event.target (//api.jquery.com/event.target/)
The DOM element that initiated the event.
event.timeStamp (//api.jquery.com/event.timeStamp/)
The difference in milliseconds between the time the browser created
the event and January 1, 1970.
event.type (//api.jquery.com/event.type/)
Describes the nature of the event.
event.which (//api.jquery.com/event.which/)
For key or mouse events, this property indicates the specific key or
button that was pressed.
.fadeIn() (//api.jquery.com/fadeIn/)
Display the matched elements by fading them to opaque.
.fadeOut() (//api.jquery.com/fadeOut/)
Hide the matched elements by fading them to transparent.
/
.fadeTo() (//api.jquery.com/fadeTo/)
Adjust the opacity of the matched elements.
.fadeToggle() (//api.jquery.com/fadeToggle/)
Display or hide the matched elements by animating their opacity.
.filter() (//api.jquery.com/filter/)
Reduce the set of matched elements to those that match the selector
or pass the function’s test.
.find() (//api.jquery.com/find/)
Get the descendants of each element in the current set of matched
elements, filtered by a selector, jQuery object, or element.
.finish() (//api.jquery.com/finish/)
Stop the currently-running animation, remove all queued animations,
and complete all animations for the matched elements.
.first() (//api.jquery.com/first/)
Reduce the set of matched elements to the first in the set.
/
Selectors (//api.jquery.com/category/selectors/) > Child Filter
(//api.jquery.com/category/selectors/child-filter-selectors/)
.focus() (//api.jquery.com/focus/)
Bind an event handler to the “focus” JavaScript event, or trigger that
event on an element.
/
Events (//api.jquery.com/category/events/) > Form Events
(//api.jquery.com/category/events/form-events/) | Forms
(//api.jquery.com/category/forms/)
.focusin() (//api.jquery.com/focusin/)
Bind an event handler to the “focusin” event.
.focusout() (//api.jquery.com/focusout/)
Bind an event handler to the “focusout” JavaScript event.
.get() (//api.jquery.com/get/)
Retrieve the DOM elements matched by the jQuery object.
.has() (//api.jquery.com/has/)
Reduce the set of matched elements to those that have a descendant
that matches the selector or DOM element.
.hasClass() (//api.jquery.com/hasClass/)
Determine whether any of the matched elements are assigned the
given class.
.height() (//api.jquery.com/height/)
Get the current computed height for the first element in the set of
matched elements or set the height of every matched element.
/
Effects (//api.jquery.com/category/effects/) > Basics
(//api.jquery.com/category/effects/basics/)
.hide() (//api.jquery.com/hide/)
Hide the matched elements.
.hover() (//api.jquery.com/hover/)
Bind one or two handlers to the matched elements, to be executed
when the mouse pointer enters and leaves the elements.
.html() (//api.jquery.com/html/)
Get the HTML contents of the first element in the set of matched
elements or set the HTML contents of every matched element.
.index() (//api.jquery.com/index/)
Search for a given element from among the matched elements.
/
CSS (//api.jquery.com/category/css/) | Dimensions
(//api.jquery.com/category/dimensions/) | Manipulation
(//api.jquery.com/category/manipulation/) > Style Properties
(//api.jquery.com/category/manipulation/style-properties/)
.innerHeight() (//api.jquery.com/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.
.innerWidth() (//api.jquery.com/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.
.insertAfter() (//api.jquery.com/insertAfter/)
Insert every element in the set of matched elements after the target.
.insertBefore() (//api.jquery.com/insertBefore/)
Insert every element in the set of matched elements before the target.
.is() (//api.jquery.com/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 (//api.jquery.com/category/core/)
jQuery()
(//api.jquery.com/jQuery/)
Return a collection of matched elements either found in the DOM
based on passed argument(s) or created by passing an HTML string.
.jquery (//api.jquery.com/jquery-2/)
A string containing the jQuery version number.
jQuery.ajax() (//api.jquery.com/jQuery.ajax/)
Perform an asynchronous HTTP (Ajax) request.
jQuery.ajaxPrefilter()
(//api.jquery.com/jQuery.ajaxPrefilter/)
Handle custom Ajax options or modify existing options before each
request is sent and before they are processed by $.ajax().
jQuery.ajaxSetup()
(//api.jquery.com/jQuery.ajaxSetup/)
Set default values for future Ajax requests. Its use is not
recommended.
/
Ajax (//api.jquery.com/category/ajax/) > Low-Level Interface
(//api.jquery.com/category/ajax/low-level-interface/)
jQuery.ajaxTransport()
(//api.jquery.com/jQuery.ajaxTransport/)
Creates an object that handles the actual transmission of Ajax data.
jQuery.boxModel (//api.jquery.com/jQuery.boxModel/)
States if the current page, in the user’s browser, is being rendered
using the W3C CSS Box Model.
jQuery.browser (//api.jquery.com/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.
jQuery.Callbacks() (//api.jquery.com/jQuery.Callbacks/)
A multi-purpose callbacks list object that provides a powerful way to
manage callback lists.
Utilities (//api.jquery.com/category/utilities/)
jQuery.contains()
(//api.jquery.com/jQuery.contains/)
Check to see if a DOM element is a descendant of another DOM
element.
CSS (//api.jquery.com/category/css/)
jQuery.cssHooks
(//api.jquery.com/jQuery.cssHooks/)
/
Hook directly into jQuery to override how particular CSS properties are
retrieved or set, normalize CSS property naming, or create custom
properties.
jQuery.cssNumber
(//api.jquery.com/jQuery.cssNumber/)
An object containing all CSS properties that may be used without a
unit. The .css() method uses this object to see if it may append px to
unitless values.
jQuery.data() (//api.jquery.com/jQuery.data/)
Store arbitrary data associated with the specified element and/or
return the value that was set.
jQuery.Deferred() (//api.jquery.com/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.
jQuery.dequeue() (//api.jquery.com/jQuery.dequeue/)
Execute the next function on the queue for the matched element.
Utilities (//api.jquery.com/category/utilities/)
jQuery.each()
(//api.jquery.com/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 (//api.jquery.com/category/internals/)
jQuery.error()
(//api.jquery.com/jQuery.error/)
Takes a string and throws an exception containing it.
CSS (//api.jquery.com/category/css/)
jQuery.escapeSelector()
(//api.jquery.com/jQuery.escapeSelector/)
Escapes any character that has a special meaning in a CSS selector.
Utilities (//api.jquery.com/category/utilities/)
jQuery.extend()
(//api.jquery.com/jQuery.extend/)
Merge the contents of two or more objects together into the first
object.
Utilities (//api.jquery.com/category/utilities/)
jQuery.fn.extend()
(//api.jquery.com/jQuery.fn.extend/)
Merge the contents of an object onto the jQuery prototype to provide
new jQuery instance methods.
jQuery.fx.interval (//api.jquery.com/jQuery.fx.interval/)
The rate (in milliseconds) at which animations fire.
jQuery.fx.off (//api.jquery.com/jQuery.fx.off/)
Globally disable all animations.
jQuery.get() (//api.jquery.com/jQuery.get/)
/
Ajax (//api.jquery.com/category/ajax/) > Shorthand Methods
(//api.jquery.com/category/ajax/shorthand-methods/)
Load data from the server using a HTTP GET request.
jQuery.getJSON() (//api.jquery.com/jQuery.getJSON/)
Load JSON-encoded data from the server using a GET HTTP request.
jQuery.getScript() (//api.jquery.com/jQuery.getScript/)
Load a JavaScript file from the server using a GET HTTP request,
then execute it.
Utilities (//api.jquery.com/category/utilities/)
jQuery.globalEval()
(//api.jquery.com/jQuery.globalEval/)
Execute some JavaScript code globally.
Utilities (//api.jquery.com/category/utilities/)
jQuery.grep()
(//api.jquery.com/jQuery.grep/)
Finds the elements of an array which satisfy a filter function. The
original array is not affected.
Data (//api.jquery.com/category/data/)
jQuery.hasData()
(//api.jquery.com/jQuery.hasData/)
Determine whether an element has any jQuery data associated with it.
/
Core (//api.jquery.com/category/core/) | Deprecated
(//api.jquery.com/category/deprecated/) > Deprecated 3.2
(//api.jquery.com/category/deprecated/deprecated-3.2/) | Events
(//api.jquery.com/category/events/) > Document Loading
(//api.jquery.com/category/events/document-loading/) | Properties
(//api.jquery.com/category/properties/) > Properties of the Global jQuery Object
(//api.jquery.com/category/properties/global-jquery-object-properties/)
jQuery.holdReady()
(//api.jquery.com/jQuery.holdReady/)
Holds or releases the execution of jQuery’s ready event.
Manipulation (//api.jquery.com/category/manipulation/)
jQuery.htmlPrefilter()
(//api.jquery.com/jQuery.htmlPrefilter/)
Modify and filter HTML strings passed through jQuery manipulation
methods.
Utilities (//api.jquery.com/category/utilities/)
jQuery.inArray()
(//api.jquery.com/jQuery.inArray/)
Search for a specified value within an array and return its index (or -1
if not found).
jQuery.isArray() (//api.jquery.com/jQuery.isArray/)
Determine whether the argument is an array.
Utilities (//api.jquery.com/category/utilities/)
jQuery.isEmptyObject()
(//api.jquery.com/jQuery.isEmptyObject/)
Check to see if an object is empty (contains no enumerable
properties).
/
jQuery.isFunction()
(//api.jquery.com/jQuery.isFunction/)
Determines if its argument is callable as a function.
jQuery.isNumeric()
(//api.jquery.com/jQuery.isNumeric/)
Determines whether its argument represents a JavaScript number.
Utilities (//api.jquery.com/category/utilities/)
jQuery.isPlainObject()
(//api.jquery.com/jQuery.isPlainObject/)
Check to see if an object is a plain object (created using “{}” or “new
Object”).
jQuery.isWindow()
(//api.jquery.com/jQuery.isWindow/)
Determine whether the argument is a window.
Utilities (//api.jquery.com/category/utilities/)
jQuery.isXMLDoc()
(//api.jquery.com/jQuery.isXMLDoc/)
Check to see if a DOM node is within an XML document (or is an XML
document).
Utilities (//api.jquery.com/category/utilities/)
jQuery.makeArray()
(//api.jquery.com/jQuery.makeArray/)
Convert an array-like object into a true JavaScript array.
/
Utilities (//api.jquery.com/category/utilities/)
jQuery.map()
(//api.jquery.com/jQuery.map/)
Translate all items in an array or object to new array of items.
Utilities (//api.jquery.com/category/utilities/)
jQuery.merge()
(//api.jquery.com/jQuery.merge/)
Merge the contents of two arrays together into the first array.
jQuery.noConflict()
(//api.jquery.com/jQuery.noConflict/)
Relinquish jQuery’s control of the $ variable.
Utilities (//api.jquery.com/category/utilities/)
jQuery.noop()
(//api.jquery.com/jQuery.noop/)
An empty function.
jQuery.now() (//api.jquery.com/jQuery.now/)
Return a number representing the current time.
jQuery.param() (//api.jquery.com/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 (//api.jquery.com/category/utilities/)
jQuery.parseHTML()
(//api.jquery.com/jQuery.parseHTML/)
Parses a string into an array of DOM nodes.
jQuery.parseJSON()
(//api.jquery.com/jQuery.parseJSON/)
Takes a well-formed JSON string and returns the resulting JavaScript
value.
Utilities (//api.jquery.com/category/utilities/)
jQuery.parseXML()
(//api.jquery.com/jQuery.parseXML/)
Parses a string into an XML document.
jQuery.post() (//api.jquery.com/jQuery.post/)
Send data to the server using a HTTP POST request.
jQuery.proxy() (//api.jquery.com/jQuery.proxy/)
Takes a function and returns a new one that will always have a
particular context.
jQuery.queue() (//api.jquery.com/jQuery.queue/)
Show or manipulate the queue of functions to be executed on the
matched element.
/
Core (//api.jquery.com/category/core/) | Events (//api.jquery.com/category/events/) >
Document Loading (//api.jquery.com/category/events/document-loading/) | Properties
(//api.jquery.com/category/properties/) > Properties of the Global jQuery Object
(//api.jquery.com/category/properties/global-jquery-object-properties/)
jQuery.ready (//api.jquery.com/jQuery.ready/)
A Promise-like object (or “thenable”) that resolves when the document
is ready.
Core (//api.jquery.com/category/core/)
jQuery.readyException()
(//api.jquery.com/jQuery.readyException/)
Handles errors thrown synchronously in functions wrapped in jQuery().
jQuery.removeData()
(//api.jquery.com/jQuery.removeData/)
Remove a previously-stored piece of data.
jQuery.speed (//api.jquery.com/jQuery.speed/)
Creates an object containing a set of properties ready to be used in
the definition of custom animations.
jQuery.sub() (//api.jquery.com/jQuery.sub/)
Creates a new copy of jQuery whose properties and methods can be
modified without affecting the original jQuery object.
jQuery.support (//api.jquery.com/jQuery.support/)
/
A collection of properties that represent the presence of different
browser features or bugs. Intended for jQuery’s internal use; specific
properties may be removed when they are no longer needed internally
to improve page startup performance. For your own project’s feature-
detection needs, we strongly recommend the use of an external library
such as Modernizr instead of dependency on properties in
jQuery.support.
jQuery.trim() (//api.jquery.com/jQuery.trim/)
Remove the whitespace from the beginning and end of a string.
jQuery.type() (//api.jquery.com/jQuery.type/)
Determine the internal JavaScript [[Class]] of an object.
jQuery.unique() (//api.jquery.com/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 (//api.jquery.com/category/utilities/)
jQuery.uniqueSort()
(//api.jquery.com/jQuery.uniqueSort/)
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.
jQuery.when() (//api.jquery.com/jQuery.when/)
/
Provides a way to execute callback functions based on zero or more
Thenable objects, usually Deferred objects that represent
asynchronous events.
.keydown() (//api.jquery.com/keydown/)
Bind an event handler to the “keydown” JavaScript event, or trigger
that event on an element.
.keypress() (//api.jquery.com/keypress/)
Bind an event handler to the “keypress” JavaScript event, or trigger
that event on an element.
.keyup() (//api.jquery.com/keyup/)
Bind an event handler to the “keyup” JavaScript event, or trigger that
event on an element.
.last() (//api.jquery.com/last/)
Reduce the set of matched elements to the final one in the set.
.length (//api.jquery.com/length/)
The number of elements in the jQuery object.
.live() (//api.jquery.com/live/)
Attach an event handler for all elements which match the current
selector, now and in the future.
.load() (//api.jquery.com/load/)
Load data from the server and place the returned HTML into the
matched elements.
/
Deprecated (//api.jquery.com/category/deprecated/) > Deprecated 1.8
(//api.jquery.com/category/deprecated/deprecated-1.8/) | Events
(//api.jquery.com/category/events/) > Document Loading
(//api.jquery.com/category/events/document-loading/) | Removed
(//api.jquery.com/category/removed/)
.load() (//api.jquery.com/load-event/)
Bind an event handler to the “load” JavaScript event.
.map() (//api.jquery.com/map/)
Pass each element in the current matched set through a function,
producing a new jQuery object containing the return values.
.mousedown() (//api.jquery.com/mousedown/)
Bind an event handler to the “mousedown” JavaScript event, or trigger
that event on an element.
.mouseenter() (//api.jquery.com/mouseenter/)
Bind an event handler to be fired when the mouse enters an element,
or trigger that handler on an element.
.mouseleave() (//api.jquery.com/mouseleave/)
/
Bind an event handler to be fired when the mouse leaves an element,
or trigger that handler on an element.
.mousemove() (//api.jquery.com/mousemove/)
Bind an event handler to the “mousemove” JavaScript event, or trigger
that event on an element.
.mouseout() (//api.jquery.com/mouseout/)
Bind an event handler to the “mouseout” JavaScript event, or trigger
that event on an element.
.mouseover() (//api.jquery.com/mouseover/)
Bind an event handler to the “mouseover” JavaScript event, or trigger
that event on an element.
.mouseup() (//api.jquery.com/mouseup/)
Bind an event handler to the “mouseup” JavaScript event, or trigger
that event on an element.
/
Selectors (//api.jquery.com/category/selectors/) > Basic
(//api.jquery.com/category/selectors/basic-css-selectors/)
.next() (//api.jquery.com/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.
.nextAll() (//api.jquery.com/nextAll/)
Get all following siblings of each element in the set of matched
elements, optionally filtered by a selector.
.nextUntil() (//api.jquery.com/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.
.not() (//api.jquery.com/not/)
Remove elements from the set of matched elements.
/
Selectors (//api.jquery.com/category/selectors/) > Child Filter
(//api.jquery.com/category/selectors/child-filter-selectors/)
.odd() (//api.jquery.com/odd/)
Reduce the set of matched elements to the odd ones in the set,
numbered from zero.
.off() (//api.jquery.com/off/)
Remove an event handler.
.offset() (//api.jquery.com/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.
/
.offsetParent() (//api.jquery.com/offsetParent/)
Get the closest ancestor element that is positioned.
.on() (//api.jquery.com/on/)
Attach an event handler function for one or more events to the
selected elements.
.one() (//api.jquery.com/one/)
Attach a handler to an event for the elements. The handler is executed
at most once per element per event type.
.outerHeight() (//api.jquery.com/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 (//api.jquery.com/category/css/) | Dimensions
(//api.jquery.com/category/dimensions/) | Manipulation
(//api.jquery.com/category/manipulation/) > Style Properties
(//api.jquery.com/category/manipulation/style-properties/)
.outerWidth() (//api.jquery.com/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.
.parent() (//api.jquery.com/parent/)
Get the parent of each element in the current set of matched
elements, optionally filtered by a selector.
.parents() (//api.jquery.com/parents/)
Get the ancestors of each element in the current set of matched
elements, optionally filtered by a selector.
.parentsUntil() (//api.jquery.com/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 (//api.jquery.com/category/selectors/) > Form
(//api.jquery.com/category/selectors/form-selectors/) | Selectors
(//api.jquery.com/category/selectors/) > jQuery Extensions
(//api.jquery.com/category/selectors/jquery-selector-extensions/)
.position() (//api.jquery.com/position/)
Get the current coordinates of the first element in the set of matched
elements, relative to the offset parent.
.prepend() (//api.jquery.com/prepend/)
Insert content, specified by the parameter, to the beginning of each
element in the set of matched elements.
.prependTo() (//api.jquery.com/prependTo/)
Insert every element in the set of matched elements to the beginning
of the target.
.prev() (//api.jquery.com/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.
.prevAll() (//api.jquery.com/prevAll/)
/
Get all preceding siblings of each element in the set of matched
elements, optionally filtered by a selector.
.prevUntil() (//api.jquery.com/prevUntil/)
Get all preceding siblings of each element up to but not including the
element matched by the selector, DOM node, or jQuery object.
.prop() (//api.jquery.com/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 (//api.jquery.com/category/internals/)
.pushStack()
(//api.jquery.com/pushStack/)
Add a collection of DOM elements onto the jQuery stack.
.queue() (//api.jquery.com/queue/)
Show or manipulate the queue of functions to be executed on the
matched elements.
.ready() (//api.jquery.com/ready/)
Specify a function to execute when the DOM is fully loaded.
.remove() (//api.jquery.com/remove/)
Remove the set of matched elements from the DOM.
.removeAttr() (//api.jquery.com/removeAttr/)
Remove an attribute from each element in the set of matched
elements.
.removeClass() (//api.jquery.com/removeClass/)
Remove a single class, multiple classes, or all classes from each
element in the set of matched elements.
.removeData() (//api.jquery.com/removeData/)
Remove a previously-stored piece of data.
.removeProp() (//api.jquery.com/removeProp/)
Remove a property for the set of matched elements.
/
Manipulation (//api.jquery.com/category/manipulation/) > DOM Replacement
(//api.jquery.com/category/manipulation/dom-replacement/)
.replaceAll() (//api.jquery.com/replaceAll/)
Replace each target element with the set of matched elements.
.replaceWith() (//api.jquery.com/replaceWith/)
Replace each element in the set of matched elements with the
provided new content and return the set of elements that was
removed.
.resize() (//api.jquery.com/resize/)
Bind an event handler to the “resize” JavaScript event, or trigger that
event on an element.
.scroll() (//api.jquery.com/scroll/)
Bind an event handler to the “scroll” JavaScript event, or trigger that
event on an element.
/
CSS (//api.jquery.com/category/css/) | Offset (//api.jquery.com/category/offset/) |
Manipulation (//api.jquery.com/category/manipulation/) > Style Properties
(//api.jquery.com/category/manipulation/style-properties/)
.scrollLeft() (//api.jquery.com/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.
.scrollTop() (//api.jquery.com/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.
.select() (//api.jquery.com/select/)
Bind an event handler to the “select” JavaScript event, or trigger that
event on an element.
.selector (//api.jquery.com/selector/)
A selector representing selector passed to jQuery(), if any, when
creating the original set.
/
Forms (//api.jquery.com/category/forms/) | Ajax (//api.jquery.com/category/ajax/) >
Helper Functions (//api.jquery.com/category/ajax/helper-functions/)
.serialize() (//api.jquery.com/serialize/)
Encode a set of form elements as a string for submission.
.serializeArray() (//api.jquery.com/serializeArray/)
Encode a set of form elements as an array of names and values.
.show() (//api.jquery.com/show/)
Display the matched elements.
.siblings() (//api.jquery.com/siblings/)
Get the siblings of each element in the set of matched elements,
optionally filtered by a selector.
.size() (//api.jquery.com/size/)
Return the number of elements in the jQuery object.
.slice() (//api.jquery.com/slice/)
Reduce the set of matched elements to a subset specified by a range
of indices.
.slideDown() (//api.jquery.com/slideDown/) /
Display the matched elements with a sliding motion.
.slideToggle() (//api.jquery.com/slideToggle/)
Display or hide the matched elements with a sliding motion.
.slideUp() (//api.jquery.com/slideUp/)
Hide the matched elements with a sliding motion.
.stop() (//api.jquery.com/stop/)
Stop the currently-running animation on the matched elements.
.submit() (//api.jquery.com/submit/)
Bind an event handler to the “submit” JavaScript event, or trigger that
event on an element.
/
Manipulation (//api.jquery.com/category/manipulation/) > DOM Insertion, Inside
(//api.jquery.com/category/manipulation/dom-insertion-inside/)
.text() (//api.jquery.com/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.
.toArray() (//api.jquery.com/toArray/)
Retrieve all the elements contained in the jQuery set, as an array.
.toggle() (//api.jquery.com/toggle/)
Display or hide the matched elements.
.toggle() (//api.jquery.com/toggle-event/)
Bind two or more handlers to the matched elements, to be executed
on alternate clicks.
.toggleClass() (//api.jquery.com/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.
.trigger() (//api.jquery.com/trigger/)
Execute all handlers and behaviors attached to the matched elements
for the given event type.
.triggerHandler() (//api.jquery.com/triggerHandler/)
Execute all handlers attached to an element for an event.
.unbind() (//api.jquery.com/unbind/)
Remove a previously-attached event handler from the elements.
.undelegate() (//api.jquery.com/undelegate/)
Remove a handler from the event for all elements which match the
current selector, based upon a specific set of root elements.
.unload() (//api.jquery.com/unload/)
Bind an event handler to the “unload” JavaScript event.
/
Manipulation (//api.jquery.com/category/manipulation/) > DOM Insertion, Around
(//api.jquery.com/category/manipulation/dom-insertion-around/) | Manipulation
(//api.jquery.com/category/manipulation/) > DOM Removal
(//api.jquery.com/category/manipulation/dom-removal/)
.unwrap() (//api.jquery.com/unwrap/)
Remove the parents of the set of matched elements from the DOM,
leaving the matched elements in their place.
.val() (//api.jquery.com/val/)
Get the current value of the first element in the set of matched
elements or set the value of every matched element.
.width() (//api.jquery.com/width/)
Get the current computed width for the first element in the set of
matched elements or set the width of every matched element.
.wrap() (//api.jquery.com/wrap/)
Wrap an HTML structure around each element in the set of matched
elements.
.wrapInner() (//api.jquery.com/wrapInner/)
Wrap an HTML structure around the content of each element in the
set of matched elements.
BOOKS
Twitter (https://twitter.com/jquery)
IRC (https://irc.jquery.org/)
GitHub (https://github.com/jquery)