jQuery Reference
The complete jQuery reference guide providing
you all the info you need to learn and understand jQuery
:animated Selector
SelectorsSelect all elements that are in the progress of an animation at the time the selector is run.
:button Selector
SelectorsSelects all button elements and elements of type button.
:checkbox Selector
SelectorsSelects all elements of type checkbox.
:checked Selector
SelectorsMatches all elements that are checked or selected.
:contains() Selector
SelectorsSelect all elements that contain the specified text.
:disabled Selector
SelectorsSelects all elements that are disabled.
:empty Selector
SelectorsSelect all elements that have no children (including text nodes).
:enabled Selector
SelectorsSelects all elements that are enabled.
:eq() Selector
SelectorsSelect the element at index n within the matched set.
:even Selector
SelectorsSelects even elements, zero-indexed. See also odd.
:file Selector
SelectorsSelects all elements of type file.
:first Selector
SelectorsSelects the first matched element.
:first-child Selector
SelectorsSelects all elements that are the first child of their parent.
:first-of-type Selector
SelectorsSelects all elements that are the first among siblings of the same element name.
:focus Selector
SelectorsSelects element if it is currently focused.
:gt() Selector
SelectorsSelect all elements at an index greater than index within the matched set.
:has() Selector
SelectorsSelects elements which contain at least one element that matches the specified selector.
:header Selector
SelectorsSelects all elements that are headers, like h1, h2, h3 and so on.
:hidden Selector
SelectorsSelects all elements that are hidden.
:image Selector
SelectorsSelects all elements of type image.
:input Selector
SelectorsSelects all input, textarea, select and button elements.
:lang() Selector
SelectorsSelects all elements of the specified language.
:last Selector
SelectorsSelects the last matched element.
:last-child Selector
SelectorsSelects all elements that are the last child of their parent.
:last-of-type Selector
SelectorsSelects all elements that are the last among siblings of the same element name.
:lt() Selector
SelectorsSelect all elements at an index less than index within the matched set.
:not() Selector
SelectorsSelects all elements that do not match the given selector.
:nth-child() Selector
SelectorsSelects all elements that are the nth-child of their parent.
:nth-last-child() Selector
SelectorsSelects all elements that are the nth-child of their parent, counting from the last element to the first.
:nth-last-of-type() Selector
SelectorsSelects 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.
:nth-of-type() Selector
SelectorsSelects all elements that are the nth child of their parent in relation to siblings with the same element name.
:odd Selector
SelectorsSelects odd elements, zero-indexed. See also even.
:only-child Selector
SelectorsSelects all elements that are the only child of their parent.
:only-of-type Selector
SelectorsSelects all elements that have no siblings with the same element name.
:parent Selector
SelectorsSelect all elements that have at least one child node (either an element or text).
:password Selector
SelectorsSelects all elements of type password.
:radio Selector
SelectorsSelects all elements of type radio.
:reset Selector
SelectorsSelects all elements of type reset.
:root Selector
SelectorsSelects the element that is the root of the document.
:selected Selector
SelectorsSelects all elements that are selected.
:submit Selector
SelectorsSelects all elements of type submit.
:target Selector
SelectorsSelects the target element indicated by the fragment identifier of the document’s URI.
:text Selector
SelectorsSelects all input elements of type text.
:visible Selector
SelectorsSelects all elements that are visible.
.add()
TraversingCreate a new jQuery object with elements added to the set of matched elements.
.addBack()
TraversingAdd the previous set of elements on the stack to the current set, optionally filtered by a selector.
.addClass()
AttributesAdds the specified class(es) to each element in the set of matched elements.
.after()
ManipulationInsert content, specified by the parameter, after each element in the set of matched elements.
.ajaxComplete()
AjaxRegister a handler to be called when Ajax requests complete. This is an AjaxEvent.
.ajaxError()
AjaxRegister a handler to be called when Ajax requests complete with an error. This is an Ajax Event.
.ajaxSend()
AjaxAttach a function to be executed before an Ajax request is sent. This is an Ajax Event.
.ajaxStart()
AjaxRegister a handler to be called when the first Ajax request begins. This is an Ajax Event.
.ajaxStop()
AjaxRegister a handler to be called when all Ajax requests have completed. This is an Ajax Event.
.ajaxSuccess()
AjaxAttach a function to be executed whenever an Ajax request completes successfully. This is an Ajax Event.
.andSelf()
DeprecatedAdd the previous set of elements on the stack to the current set.
.animate()
EffectsPerform a custom animation of a set of CSS properties.
.append()
ManipulationInsert content, specified by the parameter, to the end of each element in the set of matched elements.
.appendTo()
ManipulationInsert every element in the set of matched elements to the end of the target.
.attr()
AttributesGet 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.
.before()
ManipulationInsert content, specified by the parameter, before each element in the set of matched elements.
.bind()
EventsAttach a handler to an event for the elements.
.blur()
EventsBind an event handler to the “blur” JavaScript event, or trigger that event on an element.
.change()
EventsBind an event handler to the “change” JavaScript event, or trigger that event on an element.
.children()
TraversingGet the children of each element in the set of matched elements, optionally filtered by a selector.
.clearQueue()
EffectsRemove from the queue all items that have not yet been run.
.click()
EventsBind an event handler to the “click” JavaScript event, or trigger that event on an element.
.clone()
ManipulationCreate a deep copy of the set of matched elements.
.closest()
TraversingFor 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()
TraversingGet the children of each element in the set of matched elements, including text and comment nodes.
.context
DeprecatedThe DOM node context originally passed to jQuery(); if none was passed then context will likely be the document.
.contextmenu()
EventsBind an event handler to the “contextmenu” JavaScript event, or trigger that event on an element.
.css()
CSSGet 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()
DataStore 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()
EventsBind an event handler to the “dblclick” JavaScript event, or trigger that event on an element.
.delay()
EffectsSet a timer to delay execution of subsequent items in the queue.
.delegate()
EventsAttach 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()
EffectsExecute the next function on the queue for the matched elements.
.detach()
ManipulationRemove the set of matched elements from the DOM.
.die()
DeprecatedRemove event handlers previously attached using .live() from the elements.
.each()
MiscellaneousIterate over a jQuery object, executing a function for each matched element.
.empty()
ManipulationRemove all child nodes of the set of matched elements from the DOM.
.end()
TraversingEnd the most recent filtering operation in the current chain and return the set of matched elements to its previous state.
.eq()
TraversingReduce the set of matched elements to the one at the specified index.
.error()
EventsBind an event handler to the “error” JavaScript event.
.fadeIn()
EffectsDisplay the matched elements by fading them to opaque.
.fadeOut()
EffectsHide the matched elements by fading them to transparent.
.fadeTo()
EffectsAdjust the opacity of the matched elements.
.fadeToggle()
EffectsDisplay or hide the matched elements by animating their opacity.
.filter()
TraversingReduce the set of matched elements to those that match the selector or pass the function’s test.
.find()
TraversingGet the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.
.finish()
EffectsStop the currently-running animation, remove all queued animations, and complete all animations for the matched elements.
.first()
TraversingReduce the set of matched elements to the first in the set.
.focus()
EventsBind an event handler to the “focus” JavaScript event, or trigger that event on an element.
.focusin()
EventsBind an event handler to the “focusin” event.
.focusout()
EventsBind an event handler to the “focusout” JavaScript event.
.get()
MiscellaneousRetrieve the DOM elements matched by the jQuery object.
.has()
TraversingReduce the set of matched elements to those that have a descendant that matches the selector or DOM element.
.hasClass()
AttributesDetermine whether any of the matched elements are assigned the given class.
.height()
CSSGet the current computed height for the first element in the set of matched elements or set the height of every matched element.
.hide()
EffectsHide the matched elements.
.hover()
EventsBind one or two handlers to the matched elements, to be executed when the mouse pointer enters and leaves the elements.
.html()
AttributesGet the HTML contents of the first element in the set of matched elements or set the HTML contents of every matched element.
.index()
MiscellaneousSearch for a given element from among the matched elements.
.innerHeight()
CSSGet 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()
CSSGet 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()
ManipulationInsert every element in the set of matched elements after the target.
.insertBefore()
ManipulationInsert every element in the set of matched elements before the target.
.is()
TraversingCheck 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.
.jquery
InternalsA string containing the jQuery version number.
.keydown()
EventsBind an event handler to the “keydown” JavaScript event, or trigger that event on an element.
.keypress()
EventsBind an event handler to the “keypress” JavaScript event, or trigger that event on an element.
.keyup()
EventsBind an event handler to the “keyup” JavaScript event, or trigger that event on an element.
.last()
TraversingReduce the set of matched elements to the final one in the set.
.length
PropertiesThe number of elements in the jQuery object.
.live()
DeprecatedAttach an event handler for all elements which match the current selector, now and in the future.
.load()
DeprecatedLoad data from the server and place the returned HTML into the matched element.
.map()
TraversingPass each element in the current matched set through a function, producing a new jQuery object containing the return values.
.mousedown()
EventsBind an event handler to the “mousedown” JavaScript event, or trigger that event on an element.
.mouseenter()
EventsBind an event handler to be fired when the mouse enters an element, or trigger that handler on an element.
.mouseleave()
EventsBind an event handler to be fired when the mouse leaves an element, or trigger that handler on an element.
.mousemove()
EventsBind an event handler to the “mousemove” JavaScript event, or trigger that event on an element.
.mouseout()
EventsBind an event handler to the “mouseout” JavaScript event, or trigger that event on an element.
.mouseover()
EventsBind an event handler to the “mouseover” JavaScript event, or trigger that event on an element.
.mouseup()
EventsBind an event handler to the “mouseup” JavaScript event, or trigger that event on an element.
.next()
TraversingGet 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()
TraversingGet all following siblings of each element in the set of matched elements, optionally filtered by a selector.
.nextUntil()
TraversingGet all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed.
.not()
TraversingRemove elements from the set of matched elements.
.off()
EventsRemove an event handler.
.offset()
CSSGet 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()
OffsetGet the closest ancestor element that is positioned.
.on()
EventsAttach an event handler function for one or more events to the selected elements.
.one()
EventsAttach a handler to an event for the elements. The handler is executed at most once per element per event type.
.outerHeight()
CSSGet the current computed height for the first element in the set of matched elements, including padding, border, and optionally margin. Returns a number (without “px”) representation of the value or null if called on an empty set of elements.
.outerWidth()
CSSGet the current computed width for the first element in the set of matched elements, including padding and border.
.parent()
TraversingGet the parent of each element in the current set of matched elements, optionally filtered by a selector.
.parents()
TraversingGet the ancestors of each element in the current set of matched elements, optionally filtered by a selector.
.parentsUntil()
TraversingGet 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.
.position()
CSSGet the current coordinates of the first element in the set of matched elements, relative to the offset parent.
.prepend()
ManipulationInsert content, specified by the parameter, to the beginning of each element in the set of matched elements.
.prependTo()
ManipulationInsert every element in the set of matched elements to the beginning of the target.
.prev()
TraversingGet the immediately preceding sibling of each element in the set of matched elements, optionally filtered by a selector.
.prevAll()
TraversingGet all preceding siblings of each element in the set of matched elements, optionally filtered by a selector.
.prevUntil()
TraversingGet all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object.
.promise()
Deferred ObjectReturn a Promise object to observe when all actions of a certain type bound to the collection, queued or not, have finished.
.prop()
AttributesGet 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.
.pushStack()
InternalsAdd a collection of DOM elements onto the jQuery stack.
.queue()
EffectsShow or manipulate the queue of functions to be executed on the matched elements.
.ready()
EventsSpecify a function to execute when the DOM is fully loaded.
.remove()
ManipulationRemove the set of matched elements from the DOM.
.removeAttr()
AttributesRemove an attribute from each element in the set of matched elements.
.removeClass()
AttributesRemove a single class, multiple classes, or all classes from each element in the set of matched elements.
.removeData()
DataRemove a previously-stored piece of data.
.removeProp()
AttributesRemove a property for the set of matched elements.
.replaceAll()
ManipulationReplace each target element with the set of matched elements.
.replaceWith()
ManipulationReplace each element in the set of matched elements with the provided new content and return the set of elements that was removed.
.resize()
EventsBind an event handler to the “resize” JavaScript event, or trigger that event on an element.
.scroll()
EventsBind an event handler to the “scroll” JavaScript event, or trigger that event on an element.
.scrollLeft()
CSSGet 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()
CSSGet 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()
EventsBind an event handler to the “select” JavaScript event, or trigger that event on an element.
.selector
DeprecatedA selector representing selector passed to jQuery(), if any, when creating the original set.
.serialize()
FormsEncode a set of form elements as a string for submission.
.serializeArray()
FormsEncode a set of form elements as an array of names and values.
.show()
EffectsDisplay the matched elements.
.siblings()
TraversingGet the siblings of each element in the set of matched elements, optionally filtered by a selector.
.size()
DeprecatedReturn the number of elements in the jQuery object.
.slice()
TraversingReduce the set of matched elements to a subset specified by a range of indices.
.slideDown()
EffectsDisplay the matched elements with a sliding motion.
.slideToggle()
EffectsDisplay or hide the matched elements with a sliding motion.
.slideUp()
EffectsHide the matched elements with a sliding motion.
.stop()
EffectsStop the currently-running animation on the matched elements.
.submit()
EventsBind an event handler to the “submit” JavaScript event, or trigger that event on an element.
.text()
ManipulationGet 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()
MiscellaneousRetrieve all the elements contained in the jQuery set, as an array.
.toggle()
DeprecatedDisplay or hide the matched elements.
.toggleClass()
AttributesAdd 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()
EventsExecute all handlers and behaviors attached to the matched elements for the given event type.
.triggerHandler()
EventsExecute all handlers attached to an element for an event.
.unbind()
EventsRemove a previously-attached event handler from the elements.
.undelegate()
EventsRemove a handler from the event for all elements which match the current selector, based upon a specific set of root elements.
.unload()
DeprecatedBind an event handler to the “unload” JavaScript event.
.unwrap()
ManipulationRemove the parents of the set of matched elements from the DOM, leaving the matched elements in their place.
.val()
AttributesGet the current value of the first element in the set of matched elements or set the value of every matched element.
.width()
CSSGet the current computed width for the first element in the set of matched elements or set the width of every matched element.
.wrap()
ManipulationWrap an HTML structure around each element in the set of matched elements.
.wrapAll()
ManipulationWrap an HTML structure around all elements in the set of matched elements.
.wrapInner()
ManipulationWrap an HTML structure around the content of each element in the set of matched elements.
All Selector (“*”)
SelectorsSelects all elements.
Attribute Contains Prefix Selector [name|=”value”]
SelectorsSelects elements that have the specified attribute with a value either equal to a given string or starting with that string followed by a hyphen (-).
Attribute Contains Selector [name*=”value”]
SelectorsSelects elements that have the specified attribute with a value containing a given substring.
Attribute Contains Word Selector [name~=”value”]
SelectorsSelects elements that have the specified attribute with a value containing a given word, delimited by spaces.
Attribute Ends With Selector [name$=”value”]
SelectorsSelects elements that have the specified attribute with a value ending exactly with a given string. The comparison is case sensitive.
Attribute Equals Selector [name=”value”]
SelectorsSelects elements that have the specified attribute with a value exactly equal to a certain value.
Attribute Not Equal Selector [name!=”value”]
SelectorsSelect elements that either don’t have the specified attribute, or do have the specified attribute but not with a certain value.
Attribute Starts With Selector [name^=”value”]
SelectorsSelects elements that have the specified attribute with a value beginning exactly with a given string.
callbacks.add()
Callbacks ObjectAdd a callback or a collection of callbacks to a callback list.
callbacks.disable()
Callbacks ObjectDisable a callback list from doing anything more.
callbacks.disabled()
Callbacks ObjectDetermine if the callbacks list has been disabled.
callbacks.empty()
Callbacks ObjectRemove all of the callbacks from a list.
callbacks.fire()
Callbacks ObjectCall all of the callbacks with the given arguments.
callbacks.fired()
Callbacks ObjectDetermine if the callbacks have already been called at least once.
callbacks.fireWith()
Callbacks ObjectCall all callbacks in a list with the given context and arguments.
callbacks.has()
Callbacks ObjectDetermine 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.lock()
Callbacks ObjectLock a callback list in its current state.
callbacks.locked()
Callbacks ObjectDetermine if the callbacks list has been locked.
callbacks.remove()
Callbacks ObjectRemove a callback or a collection of callbacks from a callback list.
Child Selector (“parent > child”)
SelectorsSelects all direct child elements specified by “child” of elements specified by “parent”.
Class Selector (“.class”)
SelectorsSelects all elements with the given class.
deferred.always()
Deferred ObjectAdd handlers to be called when the Deferred object is either resolved or rejected.
deferred.done()
Deferred ObjectAdd handlers to be called when the Deferred object is resolved.
deferred.fail()
Deferred ObjectAdd handlers to be called when the Deferred object is rejected.
deferred.isRejected()
Deferred ObjectDetermine whether a Deferred object has been rejected.
deferred.isResolved()
Deferred ObjectDetermine whether a Deferred object has been resolved.
deferred.notify()
Deferred ObjectCall the progressCallbacks on a Deferred object with the given args.
deferred.notifyWith()
Deferred ObjectCall the progressCallbacks on a Deferred object with the given context and args.
deferred.pipe()
Deferred ObjectUtility method to filter and/or chain Deferreds.
deferred.progress()
Deferred ObjectAdd handlers to be called when the Deferred object generates progress notifications.
deferred.promise()
Deferred ObjectReturn a Deferred’s Promise object.
deferred.reject()
Deferred ObjectReject a Deferred object and call any failCallbacks with the given args.
deferred.rejectWith()
Deferred ObjectReject a Deferred object and call any failCallbacks with the given context and args.
deferred.resolve()
Deferred ObjectResolve a Deferred object and call any doneCallbacks with the given args.
deferred.resolveWith()
Deferred ObjectResolve a Deferred object and call any doneCallbacks with the given context and args.
deferred.state()
Deferred ObjectDetermine the current state of a Deferred object.
deferred.then()
Deferred ObjectAdd handlers to be called when the Deferred object is resolved, rejected, or still in progress.
Descendant Selector (“ancestor descendant”)
SelectorsSelects all elements that are descendants of a given ancestor.
Element Selector (“element”)
SelectorsSelects all elements with the given tag name.
event.currentTarget
EventsThe current DOM element within the event bubbling phase.
event.data
EventsAn optional object of data passed to an event method when the current executing handler is bound.
event.delegateTarget
EventsThe element where the currently-called jQuery event handler was attached.
event.isDefaultPrevented()
EventsReturns whether event.preventDefault() was ever called on this event object.
event.isImmediatePropagationStopped()
EventsReturns whether event.stopImmediatePropagation() was ever called on this event object.
event.isPropagationStopped()
EventsReturns whether event.stopPropagation() was ever called on this event object.
event.metaKey
EventsIndicates whether the META key was pressed when the event fired.
event.namespace
EventsThe namespace specified when the event was triggered.
event.pageX
EventsThe mouse position relative to the left edge of the document.
event.pageY
EventsThe mouse position relative to the top edge of the document.
event.preventDefault()
EventsIf this method is called, the default action of the event will not be triggered.
event.relatedTarget
EventsThe other DOM element involved in the event, if any.
event.result
EventsThe last value returned by an event handler that was triggered by this event, unless the value was undefined.
event.stopImmediatePropagation()
EventsKeeps the rest of the handlers from being executed and prevents the event from bubbling up the DOM tree.
event.stopPropagation()
EventsPrevents the event from bubbling up the DOM tree, preventing any parent handlers from being notified of the event.
event.target
EventsThe DOM element that initiated the event.
event.timeStamp
EventsThe difference in milliseconds between the time the browser created the event and January 1, 1970.
event.type
EventsDescribes the nature of the event.
event.which
EventsFor key or mouse events, this property indicates the specific key or button that was pressed.
Has Attribute Selector [name]
SelectorsSelects elements that have the specified attribute, with any value.
ID Selector (“#id”)
SelectorsSelects a single element with the given id attribute.
jQuery.ajax()
AjaxPerform an asynchronous HTTP (Ajax) request.
jQuery.ajaxPrefilter()
AjaxHandle custom Ajax options or modify existing options before each request is sent and before they are processed by $.ajax().
jQuery.ajaxSetup()
AjaxSet default values for future Ajax requests. Its use is not recommended.
jQuery.ajaxTransport()
AjaxCreates an object that handles the actual transmission of Ajax data.
jQuery.boxModel
DeprecatedStates if the current page, in the user’s browser, is being rendered using the W3C CSS Box Model. This property was removed in jQuery 1.8. Please try to use feature detection instead.
jQuery.boxModel
RemovedStates if the current page, in the user’s browser, is being rendered using the W3C CSS Box Model. This property was removed in jQuery 1.8. Please try to use feature detection instead.
jQuery.browser
DeprecatedContains 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.browser
PropertiesContains 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()
Callbacks ObjectA multi-purpose callbacks list object that provides a powerful way to manage callback lists.
jQuery.contains()
UtilitiesCheck to see if a DOM element is a descendant of another DOM element.
jQuery.cssHooks
CSSHook directly into jQuery to override how particular CSS properties are retrieved or set, normalize CSS property naming, or create custom properties.
jQuery.cssNumber
CSSAn 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()
DataStore arbitrary data associated with the specified element and/or return the value that was set.
jQuery.Deferred()
Deferred ObjectA 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()
DataExecute the next function on the queue for the matched element.
jQuery.each()
UtilitiesA generic iterator function, which can be used to seamlessly iterate over both objects and arrays. Arrays and array-like objects with a length property (such as a function’s arguments object) are iterated by numeric index, from 0 to length-1. Other objects are iterated via their named properties.
jQuery.error()
InternalsTakes a string and throws an exception containing it.
jQuery.extend()
UtilitiesMerge the contents of two or more objects together into the first object.
jQuery.fn.extend()
UtilitiesMerge the contents of an object onto the jQuery prototype to provide new jQuery instance methods.
jQuery.fx.interval
EffectsThe rate (in milliseconds) at which animations fire.
jQuery.fx.off
EffectsGlobally disable all animations.
jQuery.get()
AjaxLoad data from the server using a HTTP GET request.
jQuery.getJSON()
AjaxLoad JSON-encoded data from the server using a GET HTTP request.
jQuery.getScript()
AjaxLoad a JavaScript file from the server using a GET HTTP request, then execute it.
jQuery.globalEval()
UtilitiesExecute some JavaScript code globally.
jQuery.grep()
UtilitiesFinds the elements of an array which satisfy a filter function. The original array is not affected.
jQuery.hasData()
DataDetermine whether an element has any jQuery data associated with it.
jQuery.holdReady()
CoreHolds or releases the execution of jQuery’s ready event.
jQuery.inArray()
UtilitiesSearch for a specified value within an array and return its index (or -1 if not found).
jQuery.isArray()
UtilitiesDetermine whether the argument is an array.
jQuery.isEmptyObject()
UtilitiesCheck to see if an object is empty (contains no enumerable properties).
jQuery.isFunction()
UtilitiesDetermine if the argument passed is a JavaScript function object.
jQuery.isNumeric()
UtilitiesDetermines whether its argument is a number.
jQuery.isPlainObject()
UtilitiesCheck to see if an object is a plain object (created using “{}” or “new Object”).
jQuery.isWindow()
UtilitiesDetermine whether the argument is a window.
jQuery.isXMLDoc()
UtilitiesCheck to see if a DOM node is within an XML document (or is an XML document).
jQuery.makeArray()
UtilitiesConvert an array-like object into a true JavaScript array.
jQuery.map()
UtilitiesTranslate all items in an array or object to new array of items.
jQuery.merge()
UtilitiesMerge the contents of two arrays together into the first array.
jQuery.noConflict()
CoreRelinquish jQuery’s control of the $ variable.
jQuery.noop()
UtilitiesAn empty function.
jQuery.now()
UtilitiesReturn a number representing the current time.
jQuery.param()
MiscellaneousCreate 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.
jQuery.parseHTML()
UtilitiesParses a string into an array of DOM nodes.
jQuery.parseJSON()
UtilitiesTakes a well-formed JSON string and returns the resulting JavaScript value.
jQuery.parseXML()
UtilitiesParses a string into an XML document.
jQuery.post()
AjaxLoad data from the server using a HTTP POST request.
jQuery.proxy()
EventsTakes a function and returns a new one that will always have a particular context.
jQuery.queue()
DataShow or manipulate the queue of functions to be executed on the matched element.
jQuery.removeData()
DataRemove a previously-stored piece of data.
jQuery.sub()
CoreCreates a new copy of jQuery whose properties and methods can be modified without affecting the original jQuery object.
jQuery.support
DeprecatedA 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()
UtilitiesRemove the whitespace from the beginning and end of a string.
jQuery.type()
UtilitiesDetermine the internal JavaScript [[Class]] of an object.
jQuery.unique()
UtilitiesSorts 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()
CoreProvides a way to execute callback functions based on one or more objects, usually Deferred objects that represent asynchronous events.
jQuery()
CoreReturn a collection of matched elements either found in the DOM based on passed argument(s) or created by passing an HTML string.
Multiple Attribute Selector [name=”value”][name2=”value2″]
SelectorsMatches elements that match all of the specified attribute filters.
Multiple Selector (“selector1, selector2, selectorN”)
SelectorsSelects the combined results of all the specified selectors.
Next Adjacent Selector (“prev + next”)
SelectorsSelects all next elements matching “next” that are immediately preceded by a sibling “prev”.
Next Siblings Selector (“prev ~ siblings”)
SelectorsSelects all sibling elements that follow after the “prev” element, have the same parent, and match the filtering “siblings” selector.