spacer
  • jQuery
  • UI
  • Mobile
  • Meetups
  • Forum
  • Blog
  • About
  • Donate
  • Download
  • Documentation
  • Tutorials
  • Bug Tracker
  • Discussion

jQuery API

Skip to content

jQuery API

  • .add()

    Miscellaneous Traversing

    Add elements to the set of matched elements.

  • .addClass()

    Attributes, Class Attribute, CSS

    Adds the specified class(es) to each of the set of matched elements.

  • .after()

    DOM Insertion, Outside

    Insert content, specified by the parameter, after each element in the set of matched elements.

  • jQuery.ajax()

    Low-Level Interface

    Perform an asynchronous HTTP (Ajax) request.

  • .ajaxComplete()

    Global Ajax Event Handlers

    Register a handler to be called when Ajax requests complete. This is an Ajax Event.

  • .ajaxError()

    Global Ajax Event Handlers

    Register a handler to be called when Ajax requests complete with an error. This is an Ajax Event.

  • jQuery.ajaxPrefilter()

    Low-Level Interface

    Handle custom Ajax options or modify existing options before each request is sent and before they are processed by $.ajax().

  • .ajaxSend()

    Global Ajax Event Handlers

    Attach a function to be executed before an Ajax request is sent. This is an Ajax Event.

  • jQuery.ajaxSetup()

    Low-Level Interface

    Set default values for future Ajax requests.

  • .ajaxStart()

    Global Ajax Event Handlers

    Register a handler to be called when the first Ajax request begins. This is an Ajax Event.

  • .ajaxStop()

    Global Ajax Event Handlers

    Register a handler to be called when all Ajax requests have completed. This is an Ajax Event.

  • .ajaxSuccess()

    Global Ajax Event Handlers

    Attach a function to be executed whenever an Ajax request completes successfully. This is an Ajax Event.

  • All Selector ("*")

    Basic

    Selects all elements.

  • .andSelf()

    Miscellaneous Traversing

    Add the previous set of elements on the stack to the current set.

  • .animate()

    Custom

    Perform a custom animation of a set of CSS properties.

  • :animated Selector

    Basic Filter, jQuery Extensions

    Select all elements that are in the progress of an animation at the time the selector is run.

  • .append()

    DOM Insertion, Inside

    Insert content, specified by the parameter, to the end of each element in the set of matched elements.

  • .appendTo()

    DOM Insertion, Inside

    Insert every element in the set of matched elements to the end of the target.

  • .attr()

    Attributes, General Attributes

    Get the value of an attribute for the first element in the set of matched elements.

  • Attribute Contains Prefix Selector [name|="value"]

    Attribute

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

  • Attribute Contains Selector [name*="value"]

    Attribute

    Selects elements that have the specified attribute with a value containing the a given substring.

  • Attribute Contains Word Selector [name~="value"]

    Attribute

    Selects elements that have the specified attribute with a value containing a given word, delimited by spaces.

  • Attribute Ends With Selector [name$="value"]

    Attribute

    Selects 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"]

    Attribute

    Selects elements that have the specified attribute with a value exactly equal to a certain value.

  • Attribute Not Equal Selector [name!="value"]

    Attribute, jQuery Extensions

    Select 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"]

    Attribute

    Selects elements that have the specified attribute with a value beginning exactly with a given string.

  • .before()

    DOM Insertion, Outside

    Insert content, specified by the parameter, before each element in the set of matched elements.

  • .bind()

    Event Handler Attachment

    Attach a handler to an event for the elements.

  • .blur()

    Form Events, Forms

    Bind an event handler to the "blur" JavaScript event, or trigger that event on an element.

  • jQuery.boxModel

    Utilities

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

  • jQuery.browser

    Deprecated, Properties of the Global jQuery Object, Utilities

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

  • :button Selector

    Form, jQuery Extensions

    Selects all button elements and elements of type button.

  • jQuery.Callbacks()

    Callbacks Object

    A multi-purpose callbacks list object that provides a powerful way to manage callback lists.

  • callbacks.add()

    Callbacks Object

    Add a callback or a collection of callbacks to a callback list.

  • callbacks.disable()

    Callbacks Object

    Disable a callback list from doing anything more.

  • callbacks.empty()

    Callbacks Object

    Remove all of the callbacks from a list.

  • callbacks.fire()

    Callbacks Object

    Call all of the callbacks with the given arguments

  • callbacks.fired()

    Callbacks Object

    Determine if the callbacks have already been called at least once.

  • callbacks.fireWith()

    Callbacks Object

    Call all callbacks in a list with the given context and arguments.

  • callbacks.has()

    Callbacks Object

    Determine whether a supplied callback is in a list

  • callbacks.lock()

    Callbacks Object

    Lock a callback list in its current state.

  • callbacks.locked()

    Callbacks Object

    Determine if the callbacks list has been locked.

  • callbacks.remove()

    Callbacks Object

    Remove a callback or a collection of callbacks from a callback list.

  • .change()

    Form Events, Forms

    Bind an event handler to the "change" JavaScript event, or trigger that event on an element.

  • :checkbox Selector

    Form, jQuery Extensions

    Selects all elements of type checkbox.

  • :checked Selector

    Form

    Matches all elements that are checked.

  • Child Selector ("parent > child")

    Hierarchy

    Selects all direct child elements specified by "child" of elements specified by "parent".

  • .children()

    Tree Traversal

    Get the children of each element in the set of matched elements, optionally filtered by a selector.

  • Class Selector (".class")

    Basic

    Selects all elements with the given class.

  • .clearQueue()

    Custom, Data, Utilities

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

  • .click()

    Mouse Events

    Bind an event handler to the "click" JavaScript event, or trigger that event on an element.

  • .clone()

    Copying

    Create a deep copy of the set of matched elements.

  • .closest()

    Tree Traversal

    Get the first element that matches the selector, beginning at the current element and progressing up through the DOM tree.

  • jQuery.contains()

    Utilities

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

  • :contains() Selector

    Content Filter

    Select all elements that contain the specified text.

  • .contents()

    Miscellaneous Traversing

    Get the children of each element in the set of matched elements, including text and comment nodes.

  • .context

    Internals, Properties of jQuery Object Instances

    The DOM node context originally passed to jQuery(); if none was passed then context will likely be the document.

  • .css()

    CSS, Style Properties

    Get the value of a style property for the first element in the set of matched elements.

  • jQuery.cssHooks

    CSS

    Hook directly into jQuery to override how particular CSS properties are retrieved or set, normalize CSS property naming, or create custom properties.

  • .data()

    Data, Data Storage

    Store arbitrary data associated with the matched elements.

  • jQuery.data()

    Data, Utilities

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

  • .dblclick()

    Mouse Events

    Bind an event handler to the "dblclick" JavaScript event, or trigger that event on an element.

  • deferred.always()

    Deferred Object

    Add handlers to be called when the Deferred object is either resolved or rejected.

  • deferred.done()

    Deferred Object

    Add handlers to be called when the Deferred object is resolved.

  • deferred.fail()

    Deferred Object

    Add handlers to be called when the Deferred object is rejected.

  • deferred.isRejected()

    Deferred Object, Deprecated

    Determine whether a Deferred object has been rejected.

  • deferred.isResolved()

    Deferred Object, Deprecated

    Determine whether a Deferred object has been resolved.

  • deferred.notify()

    Deferred Object

    Call the progressCallbacks on a Deferred object with the given args.

  • deferred.notifyWith()

    Deferred Object

    Call the progressCallbacks on a Deferred object with the given context and args.

  • deferred.pipe()

    Deferred Object

    Utility method to filter and/or chain Deferreds.

  • deferred.progress()

    Deferred Object

    Add handlers to be called when the Deferred object generates progress notifications.

  • deferred.promise()

    Deferred Object

    Return a Deferred's Promise object.

  • deferred.reject()

    Deferred Object

    Reject a Deferred object and call any failCallbacks with the given args.

  • deferred.rejectWith()

    Deferred Object

    Reject a Deferred object and call any failCallbacks with the given context and args.

  • deferred.resolve()

    Deferred Object

    Resolve a Deferred object and call any doneCallbacks with the given args.

  • deferred.resolveWith()

    Deferred Object

    Resolve a Deferred object and call any doneCallbacks with the given context and args.

  • deferred.state()

    Deferred Object

    Determine the current state of a Deferred object.

  • deferred.then()

    Deferred Object

    Add handlers to be called when the Deferred object is resolved or rejected.

  • .delay()

    Custom

    Set a timer to delay execution of subsequent items in the queue.

  • .delegate()

    Event Handler Attachment

    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()

    Custom, Data, Utilities

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

  • jQuery.dequeue()

    Data, Utilities

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

  • Descendant Selector ("ancestor descendant")

    Hierarchy

    Selects all elements that are descendants of a given ancestor.

gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.