Table of contents
-
jQuery & jQuery UI Documentation
-
Learning Center
- About jQuery
- JavaScript 101
-
Using jQuery Core
- $ vs $()
- $( document ).ready()
- Avoiding Conflicts with Other Libraries
- Attributes
- Selecting Elements
- Working with Selections
- Manipulating Elements
- The jQuery Object
- Traversing
- CSS, Styling, & Dimensions
- Data Methods
- Utility Methods
- Iterating over jQuery and non-jQuery Objects
- Using jQuery's .index() Function
-
Frequently Asked Questions
- How do I select an item using class or ID?
- How do I select elements when I already have a DOM element?
- How do I test whether an element has a particular class?
- How do I test whether an element exists?
- How do I determine the state of a toggled element?
- How do I select an element by an ID that has characters used in CSS notation?
- How do I disable/enable a form element?
- How do I check/uncheck a checkbox input or radio button?
- How do I get the text value of a selected option?
- How do I replace text from the 3rd element of a list of 10 items?
- How do I pull a native DOM element from a jQuery object?
- Events
- Effects
- Ajax
- Plugins
- Performance
- Code Organization
- jQuery UI
- jQuery Mobile
-
jQuery API Documentation
-
All
- .add()
- .addBack()
- .addClass()
- .after()
- .ajaxComplete()
- .ajaxError()
- .ajaxSend()
- .ajaxStart()
- .ajaxStop()
- .ajaxSuccess()
- All Selector ("*)
- .andSelf()
- .animate()
- :animated Selector
- .append()
- .appendTo()
- .attr()
- Attribute Contains Prefix Selector [name|="value"]
- Attribute Contains Selector [name*="value"]
- Attribute Contains Word Selector [name~="value"]
- Attribute Ends With Selector [name$="value"]
- Attribute Equals Selector [name="value"]
- Attribute Not Equal Selector [name!="value"]
- Attribute Starts With Selector [name^="value"]
- .before()
- .bind()
- .blur()
- :button Selector
- callbacks.add()
- callbacks.disable()
- callbacks.disabled()
- callbacks.empty()
- callbacks.fire()
- callbacks.fired()
- callbacks.fireWith()
- callbacks.has()
- callbacks.lock()
- callbacks.locked()
- callbacks.remove()
- .change()
- :checkbox Selector
- :checked Selector
- Child Selector ("parent > child)
- .children()
- Class Selector (".class)
- .clearQueue()
- .click()
- .clone()
- .closest()
- :contains() Selector
- .contents()
- .context
- .css()
- .data()
- .dblclick()
- deferred.always()
- deferred.done()
- deferred.fail()
- deferred.isRejected()
- deferred.isResolved()
- deferred.notify()
- deferred.notifyWith()
- deferred.pipe()
- deferred.progress()
- deferred.promise()
- deferred.reject()
- deferred.rejectWith()
- deferred.resolve()
- deferred.resolveWith()
- deferred.state()
- deferred.then()
- .delay()
- .delegate()
- .dequeue()
- Descendant Selector ("ancestor descendant)
- .detach()
- .die()
- :disabled Selector
- .each()
- Element Selector ("element)
- .empty()
- :empty Selector
- :enabled Selector
- .end()
- .eq()
- :eq() Selector
- .error()
- :even Selector
- event.currentTarget
- event.data
- event.delegateTarget
- event.isDefaultPrevented()
- event.isImmediatePropagationStopped()
- event.isPropagationStopped()
- event.metaKey
- event.namespace
- event.pageX
- event.pageY
- event.preventDefault()
- event.relatedTarget
- event.result
- event.stopImmediatePropagation()
- event.stopPropagation()
- event.target
- event.timeStamp
- event.type
- event.which
- .fadeIn()
- .fadeOut()
- .fadeTo()
- .fadeToggle()
- :file Selector
- .filter()
- .find()
- .finish()
- .first()
- :first-child Selector
- :first-of-type Selector
- :first Selector
- .focus()
- :focus Selector
- .focusin()
- .focusout()
- .get()
- :gt() Selector
- .has()
- Has Attribute Selector [name]
- :has() Selector
- .hasClass()
- :header Selector
- .height()
- :hidden Selector
- .hide()
- .hover()
- .html()
- ID Selector ("#id)
- :image Selector
- .index()
- .innerHeight()
- .innerWidth()
- :input Selector
- .insertAfter()
- .insertBefore()
- .is()
- jQuery()
- .jquery
- jQuery.ajax()
- jQuery.ajaxPrefilter()
- jQuery.ajaxSetup()
- jQuery.ajaxTransport()
- jQuery.boxModel
- jQuery.browser
- jQuery.Callbacks()
- jQuery.contains()
- jQuery.cssHooks
- jQuery.data()
- jQuery.Deferred()
- jQuery.dequeue()
- jQuery.each()
- jQuery.error()
- jQuery.extend()
- jQuery.fx.interval
- jQuery.fx.off
- jQuery.get()
- jQuery.getJSON()
- jQuery.getScript()
- jQuery.globalEval()
- jQuery.grep()
- jQuery.hasData()
- jQuery.holdReady()
- jQuery.inArray()
- jQuery.isArray()
- jQuery.isEmptyObject()
- jQuery.isFunction()
- jQuery.isNumeric()
- jQuery.isPlainObject()
- jQuery.isWindow()
- jQuery.isXMLDoc()
- jQuery.makeArray()
- jQuery.map()
- jQuery.merge()
- jQuery.noConflict()
- jQuery.noop()
- jQuery.now()
- jQuery.param()
- jQuery.parseHTML()
- jQuery.parseJSON()
- jQuery.parseXML()
- jQuery.post()
- jQuery.proxy()
- jQuery.queue()
- jQuery.removeData()
- jQuery.sub()
- jQuery.support
- jQuery.trim()
- jQuery.type()
- jQuery.unique()
- jQuery.when()
- .keydown()
- .keypress()
- .keyup()
- :lang Selector
- .last()
- :last-child Selector
- :last-of-type Selector
- :last Selector
- .length
- .live()
- .load()
- .load()
- :lt() Selector
- .map()
- .mousedown()
- .mouseenter()
- .mouseleave()
- .mousemove()
- .mouseout()
- .mouseover()
- .mouseup()
- Multiple Attribute Selector [name="value"][name2="value2"]
- Multiple Selector ("selector1, selector2, selectorN)
- .next()
- Next Adjacent Selector ("prev + next)
- Next Siblings Selector ("prev ~ siblings)
- .nextAll()
- .nextUntil()
- .not()
- :not() Selector
- :nth-child() Selector
- :nth-last-child() Selector
- :nth-last-of-type() Selector
- :nth-of-type() Selector
- :odd Selector
- .off()
- .offset()
- .offsetParent()
- .on()
- .one()
- :only-child Selector
- :only-of-type Selector
- .outerHeight()
- .outerWidth()
- .parent()
- :parent Selector
- .parents()
- .parentsUntil()
- :password Selector
- .position()
- .prepend()
- .prependTo()
- .prev()
- .prevAll()
- .prevUntil()
- .promise()
- .prop()
- .pushStack()
- .queue()
- :radio Selector
- .ready()
- .remove()
- .removeAttr()
- .removeClass()
- .removeData()
- .removeProp()
- .replaceAll()
- .replaceWith()
- :reset Selector
- .resize()
- :root Selector
- .scroll()
- .scrollLeft()
- .scrollTop()
- .select()
- :selected Selector
- .selector
- .serialize()
- .serializeArray()
- .show()
- .siblings()
- .size()
- .slice()
- .slideDown()
- .slideToggle()
- .slideUp()
- .stop()
- .submit()
- :submit Selector
- :target Selector
- .text()
- :text Selector
- .toArray()
- .toggle()
- .toggle()
- .toggleClass()
- .trigger()
- .triggerHandler()
- .unbind()
- .undelegate()
- .unload()
- .unwrap()
- .val()
- :visible Selector
- .width()
- .wrap()
- .wrapAll()
- .wrapInner()
- Ajax
- Attributes
- Callbacks Object
- Core
- CSS
- Data
-
Deferred Object
- deferred.always()
- deferred.done()
- deferred.fail()
- deferred.isRejected()
- deferred.isResolved()
- deferred.notify()
- deferred.notifyWith()
- deferred.pipe()
- deferred.progress()
- deferred.promise()
- deferred.reject()
- deferred.rejectWith()
- deferred.resolve()
- deferred.resolveWith()
- deferred.state()
- deferred.then()
- jQuery.Deferred()
- jQuery.when()
- .promise()
- Deprecated
- Dimensions
- Effects
-
Events
- Browser Events
- Document Loading
- Event Handler Attachment
-
Event Object
- event.currentTarget
- event.data
- event.delegateTarget
- event.isDefaultPrevented()
- event.isImmediatePropagationStopped()
- event.isPropagationStopped()
- event.metaKey
- event.namespace
- event.pageX
- event.pageY
- event.preventDefault()
- event.relatedTarget
- event.result
- event.stopImmediatePropagation()
- event.stopPropagation()
- event.target
- event.timeStamp
- event.type
- event.which
- Form Events
- Keyboard Events
- Mouse Events
- Forms
- Internals
- Manipulation
- Miscellaneous
- Offset
- Properties
-
Selectors
-
Attribute
- Attribute Contains Prefix Selector [name|="value"]
- Attribute Contains Selector [name*="value"]
- Attribute Contains Word Selector [name~="value"]
- Attribute Ends With Selector [name$="value"]
- Attribute Equals Selector [name="value"]
- Attribute Not Equal Selector [name!="value"]
- Attribute Starts With Selector [name^="value"]
- Has Attribute Selector [name]
- Multiple Attribute Selector [name="value"][name2="value2"]
- Basic
- Basic Filter
- Child Filter
- Content Filter
- Form
- Hierarchy
-
jQuery Extensions
- :animated Selector
- Attribute Not Equal Selector [name!="value"]
- :button Selector
- :checkbox Selector
- :eq() Selector
- :even Selector
- :file Selector
- :first Selector
- :gt() Selector
- :has() Selector
- :header Selector
- :hidden Selector
- :image Selector
- :input Selector
- :last Selector
- :lt() Selector
- :odd Selector
- :parent Selector
- :password Selector
- :radio Selector
- :reset Selector
- :selected Selector
- :submit Selector
- :text Selector
- :visible Selector
- Visibility Filter
-
Attribute
- Traversing
-
Utilities
- .clearQueue()
- .dequeue()
- jQuery.boxModel
- jQuery.browser
- jQuery.contains()
- jQuery.data()
- jQuery.dequeue()
- jQuery.each()
- jQuery.extend()
- jQuery.globalEval()
- jQuery.grep()
- jQuery.inArray()
- jQuery.isArray()
- jQuery.isEmptyObject()
- jQuery.isFunction()
- jQuery.isNumeric()
- jQuery.isPlainObject()
- jQuery.isWindow()
- jQuery.isXMLDoc()
- jQuery.makeArray()
- jQuery.map()
- jQuery.merge()
- jQuery.noop()
- jQuery.now()
- jQuery.parseHTML()
- jQuery.parseJSON()
- jQuery.parseXML()
- jQuery.proxy()
- jQuery.queue()
- jQuery.removeData()
- jQuery.support
- jQuery.trim()
- jQuery.type()
- jQuery.unique()
- .queue()
-
Version
-
Version 1.0
- .add()
- .addClass()
- .after()
- .ajaxComplete()
- .ajaxError()
- .ajaxSend()
- .ajaxStart()
- .ajaxStop()
- .ajaxSuccess()
- All Selector ("*)
- .animate()
- .append()
- .appendTo()
- .attr()
- Attribute Contains Prefix Selector [name|="value"]
- Attribute Contains Selector [name*="value"]
- Attribute Contains Word Selector [name~="value"]
- Attribute Ends With Selector [name$="value"]
- Attribute Equals Selector [name="value"]
- Attribute Not Equal Selector [name!="value"]
- Attribute Starts With Selector [name^="value"]
- .before()
- .bind()
- .blur()
- :button Selector
- .change()
- :checkbox Selector
- :checked Selector
- Child Selector ("parent > child)
- .children()
- Class Selector (".class)
- .click()
- .clone()
- .css()
- .dblclick()
- Descendant Selector ("ancestor descendant)
- :disabled Selector
- .each()
- Element Selector ("element)
- .empty()
- :empty Selector
- :enabled Selector
- .end()
- :eq() Selector
- .error()
- :even Selector
- event.preventDefault()
- event.stopPropagation()
- event.target
- event.type
- .fadeIn()
- .fadeOut()
- .fadeTo()
- :file Selector
- .filter()
- .find()
- :first Selector
- .focus()
- .get()
- :gt() Selector
- Has Attribute Selector [name]
- .height()
- :hidden Selector
- .hide()
- .hover()
- .html()
- ID Selector ("#id)
- :image Selector
- .index()
- :input Selector
- .insertAfter()
- .insertBefore()
- .is()
- jQuery()
- jQuery.ajax()
- jQuery.boxModel
- jQuery.browser
- jQuery.each()
- jQuery.extend()
- jQuery.get()
- jQuery.getJSON()
- jQuery.getScript()
- jQuery.grep()
- jQuery.map()
- jQuery.merge()
- jQuery.noConflict()
- jQuery.post()
- jQuery.trim()
- .keydown()
- .keypress()
- .keyup()
- :last Selector
- .length
- .load()
- .load()
- :lt() Selector
- .mousedown()
- .mouseenter()
- .mouseleave()
- .mousemove()
- .mouseout()
- .mouseover()
- .mouseup()
- Multiple Attribute Selector [name="value"][name2="value2"]
- Multiple Selector ("selector1, selector2, selectorN)
- .next()
- Next Adjacent Selector ("prev + next)
- Next Siblings Selector ("prev ~ siblings)
- .not()
- :not() Selector
- :odd Selector
- .parent()
- :parent Selector
- .parents()
- :password Selector
- .prepend()
- .prependTo()
- .prev()
- .pushStack()
- :radio Selector
- .ready()
- .remove()
- .removeAttr()
- .removeClass()
- :reset Selector
- .resize()
- .scroll()
- .select()
- :selected Selector
- .serialize()
- .show()
- .siblings()
- .size()
- .slideDown()
- .slideToggle()
- .slideUp()
- .submit()
- :submit Selector
- .text()
- :text Selector
- .toggle()
- .toggle()
- .toggleClass()
- .trigger()
- .unbind()
- .unload()
- .val()
- :visible Selector
- .width()
- .wrap()
- Version 1.0.4
- Version 1.1
- Version 1.1.2
- Version 1.1.3
- Version 1.1.4
-
Version 1.2
- .andSelf()
- :animated Selector
- .contents()
- .dequeue()
- .hasClass()
- :header Selector
- jQuery.inArray()
- jQuery.isFunction()
- jQuery.makeArray()
- jQuery.param()
- .map()
- .nextAll()
- .offset()
- .position()
- .prevAll()
- .queue()
- .replaceAll()
- .replaceWith()
- .serializeArray()
- .stop()
- .triggerHandler()
- .wrapAll()
- .wrapInner()
- Version 1.2.3
- Version 1.2.6
-
Version 1.3
- .closest()
- .context
- .die()
- event.currentTarget
- event.isDefaultPrevented()
- event.isImmediatePropagationStopped()
- event.isPropagationStopped()
- event.result
- event.stopImmediatePropagation()
- jQuery.dequeue()
- jQuery.fx.off
- jQuery.isArray()
- jQuery.queue()
- jQuery.support
- .live()
- .pushStack()
- .toggle()
- .toggleClass()
-
Version 1.4
- .add()
- .addClass()
- .after()
- .append()
- .before()
- .bind()
- .clearQueue()
- .closest()
- .css()
- .data()
- .delay()
- .detach()
- .filter()
- .first()
- .focusin()
- .focusout()
- .has()
- .html()
- .index()
- jQuery()
- jQuery.contains()
- jQuery.data()
- jQuery.isEmptyObject()
- jQuery.isPlainObject()
- jQuery.noop()
- jQuery.param()
- jQuery.proxy()
- .last()
- .nextUntil()
- .not()
- .offset()
- .parentsUntil()
- .prepend()
- .prevUntil()
- .removeAttr()
- .removeClass()
- .replaceWith()
- .text()
- .toArray()
- .toggleClass()
- .unwrap()
- .val()
- .wrap()
- .wrapAll()
- .wrapInner()
- Version 1.4.1
- Version 1.4.2
-
Version 1.4.3
- .bind()
- .blur()
- .change()
- .click()
- .data()
- .dblclick()
- .delegate()
- .die()
- .error()
- event.namespace
- .fadeIn()
- .fadeOut()
- .fadeTo()
- .focus()
- .focusin()
- .focusout()
- .hide()
- jQuery.cssHooks
- jQuery.data()
- jQuery.fx.interval
- jQuery.isWindow()
- jQuery.now()
- jQuery.type()
- .keydown()
- .keypress()
- .keyup()
- .load()
- .mousedown()
- .mouseenter()
- .mouseleave()
- .mousemove()
- .mouseout()
- .mouseover()
- .mouseup()
- .resize()
- .scroll()
- .select()
- .show()
- .slideDown()
- .slideToggle()
- .slideUp()
- .submit()
- .toggle()
- .unbind()
- .undelegate()
- .unload()
- Version 1.4.4
-
Version 1.5
- .clone()
- deferred.done()
- deferred.fail()
- deferred.isRejected()
- deferred.isResolved()
- deferred.promise()
- deferred.reject()
- deferred.rejectWith()
- deferred.resolve()
- deferred.resolveWith()
- deferred.then()
- jQuery.ajax()
- jQuery.ajaxPrefilter()
- jQuery.ajaxTransport()
- jQuery.Deferred()
- jQuery.get()
- jQuery.getJSON()
- jQuery.getScript()
- jQuery.hasData()
- jQuery.parseXML()
- jQuery.post()
- jQuery.sub()
- jQuery.when()
- Version 1.5.1
- Version 1.6
-
Version 1.7
- callbacks.add()
- callbacks.disable()
- callbacks.disabled()
- callbacks.empty()
- callbacks.fire()
- callbacks.fired()
- callbacks.fireWith()
- callbacks.has()
- callbacks.lock()
- callbacks.locked()
- callbacks.remove()
- deferred.notify()
- deferred.notifyWith()
- deferred.pipe()
- deferred.progress()
- deferred.state()
- deferred.then()
- event.delegateTarget
- .is()
- jQuery.Callbacks()
- jQuery.isNumeric()
- .off()
- .on()
- .removeAttr()
- .removeData()
- .stop()
- Version 1.8
- Version 1.9
-
Version 1.0
- Types | jQuery API Documentation
-
All
-
jQuery UI API Documentation
-
All
- Accordion Widget
- .addClass()
- Autocomplete Widget
- Blind Effect
- Bounce Effect
- Button Widget
- Clip Effect
- :data() Selector
- Datepicker Widget
- Dialog Widget
- .disableSelection()
- Draggable Widget
- Drop Effect
- Droppable Widget
- .effect()
- .enableSelection()
- Explode Effect
- Fade Effect
- .focus()
- :focusable Selector
- Fold Effect
- .hide()
- Highlight Effect
- Widget Factory
- Menu Widget
- Mouse Interaction
- .position()
- Progressbar Widget
- Puff Effect
- Pulsate Effect
- .removeClass()
- .removeUniqueId()
- Resizable Widget
- Scale Effect
- .scrollParent()
- Selectable Widget
- Shake Effect
- .show()
- Size Effect
- Slide Effect
- Slider Widget
- Sortable Widget
- Spinner Widget
- .switchClass()
- :tabbable Selector
- Tabs Widget
- .toggle()
- .toggleClass()
- Tooltip Widget
- Transfer Effect
- .uniqueId()
- .zIndex()
- Effects
- Effects Core
- Interactions
- Method Overrides
- Methods
- Selectors
- UI Core
- Utilities
- Widgets
- Easings
-
All
-
Learning Center
- Check Update