JQuery API Documentation
JQuery API Documentation
org/support/)
jQueryFoundation(https://jquery.org/)
log(http://log.jquer.com/) Plugin(http://plugin.jquer.com/)
rowerupport(http://jquer.com/rowerupport/)
Ajax
(//api.jquery.com/category/ajax/)
jQuerAPI
GlobalAjaxEventHandlers jQueryisafast,small,andfeaturerichJavaScriptlibrary.ItmakesthingslikeHTMLdocumenttraversaland
(//api.jquery.com/category/ajax/global manipulation,eventhandling,animation,andAjaxmuchsimplerwithaneasytouseAPIthatworksacrossa
ajaxeventhandlers/) multitudeofbrowsers.Ifyou'renewtojQuery,werecommendthatyoucheckoutthejQueryLearningCenter
(http://learn.jquery.com/).
HelperFunctions
(//api.jquery.com/category/ajax/helper Ifyou'reupdatingtoanewerversionofjQuery,besuretoreadthereleasenotespublishedonourblog
functions/) (http://blog.jquery.com/).Ifyou'recomingfromaversionprior1.9,youshouldcheckoutthe1.9UpgradeGuide
(http://jquery.com/upgradeguide/1.9/)aswell.
LowLevelInterface
(//api.jquery.com/category/ajax/low NotethatthisistheAPIdocumentationforjQuerycore.OtherprojectshaveAPIdocsinotherlocations:
levelinterface/)
jQueryUIAPIdocs(http://api.jqueryui.com/)
ShorthandMethods
(//api.jquery.com/category/ajax/shorthand jQueryMobileAPIdocs(http://api.jquerymobile.com)
methods/) QUnitAPIdocs(http://api.qunitjs.com)
Attributes
(//api.jquery.com/category/attributes/) Traversing(//api.jquery.com/category/traversing/)>MiscellaneousTraversing
(//api.jquery.com/category/traversing/miscellaneoustraversal/)
CallbacksObject
(//api.jquery.com/category/callbacks .add()(//api.jquer.com/add/)
object/) CreateanewjQueryobjectwithelementsaddedtothesetofmatchedelements.
Core
(//api.jquery.com/category/core/)
Traversing(//api.jquery.com/category/traversing/)>MiscellaneousTraversing
CSS (//api.jquery.com/category/traversing/miscellaneoustraversal/)
(//api.jquery.com/category/css/)
.addack()(//api.jquer.com/addack/)
Data Addtheprevioussetofelementsonthestacktothecurrentset,optionallyfilteredbyaselector.
(//api.jquery.com/category/data/)
DeferredObject
Attributes(//api.jquery.com/category/attributes/) | Manipulation(//api.jquery.com/category/manipulation/)>ClassAttribute
(//api.jquery.com/category/deferred
(//api.jquery.com/category/manipulation/classattribute/) | CSS(//api.jquery.com/category/css/)
object/)
.addCla()(//api.jquer.com/addCla/)
Deprecated
Addsthespecifiedclass(es)toeachelementinthesetofmatchedelements.
(//api.jquery.com/category/deprecated/)
Deprecated1.3
(//api.jquery.com/category/deprecated/deprecated
Manipulation(//api.jquery.com/category/manipulation/)>DOMInsertion,Outside(//api.jquery.com/category/manipulation/dom
1.3/) insertionoutside/)
Deprecated1.7 .after()(//api.jquer.com/after/)
(//api.jquery.com/category/deprecated/deprecated
Insertcontent,specifiedbytheparameter,aftereachelementinthesetofmatchedelements.
1.7/)
Deprecated1.8
Ajax(//api.jquery.com/category/ajax/)>GlobalAjaxEventHandlers(//api.jquery.com/category/ajax/globalajaxevent
(//api.jquery.com/category/deprecated/deprecated
handlers/)
1.8/)
.ajaxComplete()(//api.jquer.com/ajaxComplete/)
Deprecated1.9
RegisterahandlertobecalledwhenAjaxrequestscomplete.ThisisanAjaxEvent.
(//api.jquery.com/category/deprecated/deprecated
1.9/)
Deprecated1.10 Ajax(//api.jquery.com/category/ajax/)>GlobalAjaxEventHandlers(//api.jquery.com/category/ajax/globalajaxevent
(//api.jquery.com/category/deprecated/deprecated
handlers/)
1.10/)
.ajaxrror()(//api.jquer.com/ajaxrror/)
Deprecated3.0
RegisterahandlertobecalledwhenAjaxrequestscompletewithanerror.ThisisanAjaxEvent.
(//api.jquery.com/category/deprecated/deprecated
3.0/)
Ajax(//api.jquery.com/category/ajax/)>GlobalAjaxEventHandlers(//api.jquery.com/category/ajax/globalajaxevent
Dimensions handlers/)
(//api.jquery.com/category/dimensions/) .ajaxend()(//api.jquer.com/ajaxend/)
Effects AttachafunctiontobeexecutedbeforeanAjaxrequestissent.ThisisanAjaxEvent.
(//api.jquery.com/category/effects/)
Basics
Ajax(//api.jquery.com/category/ajax/)>GlobalAjaxEventHandlers(//api.jquery.com/category/ajax/globalajaxevent
(//api.jquery.com/category/effects/basics/)
handlers/)
Custom .ajaxtart()(//api.jquer.com/ajaxtart/)
(//api.jquery.com/category/effects/custom
RegisterahandlertobecalledwhenthefirstAjaxrequestbegins.ThisisanAjaxEvent.
effects/)
Fading
(//api.jquery.com/category/effects/fading/) Ajax(//api.jquery.com/category/ajax/)>GlobalAjaxEventHandlers(//api.jquery.com/category/ajax/globalajaxevent
handlers/)
Sliding
(//api.jquery.com/category/effects/sliding/) .ajaxtop()(//api.jquer.com/ajaxtop/)
RegisterahandlertobecalledwhenallAjaxrequestshavecompleted.ThisisanAjaxEvent.
Events
(//api.jquery.com/category/events/) Ajax(//api.jquery.com/category/ajax/)>GlobalAjaxEventHandlers(//api.jquery.com/category/ajax/globalajaxevent
BrowserEvents handlers/)
(//api.jquery.com/category/events/browser
.ajaxucce()(//api.jquer.com/ajaxucce/)
events/)
AttachafunctiontobeexecutedwheneveranAjaxrequestcompletessuccessfully.ThisisanAjaxEvent.
DocumentLoading
(//api.jquery.com/category/events/document
loading/)
EventHandlerAttachment Selectors(//api.jquery.com/category/selectors/)>Basic(//api.jquery.com/category/selectors/basiccssselectors/)
(//api.jquery.com/category/events/event
All
handlerattachment/) elector(*)(//api.jquer.com/allelector/)
EventObject Selectsallelements.
(//api.jquery.com/category/events/event
object/)
Deprecated(//api.jquery.com/category/deprecated/)>Deprecated1.8(//api.jquery.com/category/deprecated/deprecated1.8/) |
FormEvents Traversing(//api.jquery.com/category/traversing/)>MiscellaneousTraversing
(//api.jquery.com/category/events/form (//api.jquery.com/category/traversing/miscellaneoustraversal/) | Removed(//api.jquery.com/category/removed/)
events/)
.andelf()(//api.jquer.com/andelf/)
KeyboardEvents
Addtheprevioussetofelementsonthestacktothecurrentset.
(//api.jquery.com/category/events/keyboard
events/)
Effects(//api.jquery.com/category/effects/)>Custom(//api.jquery.com/category/effects/customeffects/)
MouseEvents .animate()
(//api.jquery.com/category/events/mouse
events/) (//api.jquer.com/animate/)
PerformacustomanimationofasetofCSSproperties.
Forms
(//api.jquery.com/category/forms/) Selectors(//api.jquery.com/category/selectors/)>BasicFilter(//api.jquery.com/category/selectors/basicfilterselectors/) |
Internals Selectors(//api.jquery.com/category/selectors/)>jQueryExtensions(//api.jquery.com/category/selectors/jqueryselector
(//api.jquery.com/category/internals/) extensions/)
Manipulation :animatedelector(//api.jquer.com/animatedelector/)
(//api.jquery.com/category/manipulation/) Selectallelementsthatareintheprogressofananimationatthetimetheselectorisrun.
ClassAttribute
(//api.jquery.com/category/manipulation/class
Manipulation(//api.jquery.com/category/manipulation/)>DOMInsertion,Inside(//api.jquery.com/category/manipulation/dom
attribute/)
insertioninside/)
Copying
.append()(//api.jquer.com/append/)
(//api.jquery.com/category/manipulation/copying/)
Insertcontent,specifiedbytheparameter,totheendofeachelementinthesetofmatchedelements.
DOMInsertion,Around
(//api.jquery.com/category/manipulation/dom
insertionaround/)
Manipulation(//api.jquery.com/category/manipulation/)>DOMInsertion,Inside(//api.jquery.com/category/manipulation/dom
DOMInsertion,Inside insertioninside/)
(//api.jquery.com/category/manipulation/dom
.appendTo()(//api.jquer.com/appendTo/)
insertioninside/)
Inserteveryelementinthesetofmatchedelementstotheendofthetarget.
DOMInsertion,Outside
(//api.jquery.com/category/manipulation/dom
insertionoutside/) Attributes(//api.jquery.com/category/attributes/) | Manipulation(//api.jquery.com/category/manipulation/)>GeneralAttributes
(//api.jquery.com/category/manipulation/generalattributes/)
DOMRemoval
(//api.jquery.com/category/manipulation/dom.attr()(//api.jquer.com/attr/)
removal/) Getthevalueofanattributeforthefirstelementinthesetofmatchedelementsorsetoneormore
attributesforeverymatchedelement.
DOMReplacement
(//api.jquery.com/category/manipulation/dom
replacement/) Selectors(//api.jquery.com/category/selectors/)>Attribute(//api.jquery.com/category/selectors/attributeselectors/)
GeneralAttributes AttriuteContainPrefixelector[name|=value](//api.jquer.com/attriute
(//api.jquery.com/category/manipulation/general
attributes/) containprefixelector/)
StyleProperties Selectselementsthathavethespecifiedattributewithavalueeitherequaltoagivenstringorstartingwith
thatstringfollowedbyahyphen().
(//api.jquery.com/category/manipulation/style
properties/)
Selectors(//api.jquery.com/category/selectors/)>Attribute(//api.jquery.com/category/selectors/attributeselectors/)
Miscellaneous
AttriuteContainelector[name*=value](//api.jquer.com/attriutecontain
(//api.jquery.com/category/miscellaneous/)
CollectionManipulation elector/)
(//api.jquery.com/category/miscellaneous/collection
Selectselementsthathavethespecifiedattributewithavaluecontainingagivensubstring.
manipulation/)
DataStorage Selectors(//api.jquery.com/category/selectors/)>Attribute(//api.jquery.com/category/selectors/attributeselectors/)
(//api.jquery.com/category/miscellaneous/data
storage/)
AttriuteContainWordelector[name~=value](//api.jquer.com/attriute
DOMElementMethods containwordelector/)
(//api.jquery.com/category/miscellaneous/dom
elementmethods/) Selectselementsthathavethespecifiedattributewithavaluecontainingagivenword,delimitedby
spaces.
SetupMethods
(//api.jquery.com/category/miscellaneous/setup
methods/) Selectors(//api.jquery.com/category/selectors/)>Attribute(//api.jquery.com/category/selectors/attributeselectors/)
AttriutendWithelector[name$=value](//api.jquer.com/attriuteend
Offset
(//api.jquery.com/category/offset/) withelector/)
Properties Selectselementsthathavethespecifiedattributewithavalueendingexactlywithagivenstring.The
(//api.jquery.com/category/properties/) comparisoniscasesensitive.
PropertiesofjQueryObject
Instances Selectors(//api.jquery.com/category/selectors/)>Attribute(//api.jquery.com/category/selectors/attributeselectors/)
(//api.jquery.com/category/properties/jquery
Attriutequalelector[name=value](//api.jquer.com/attriuteequal
objectinstanceproperties/)
PropertiesoftheGlobaljQuery elector/)
Object Selectselementsthathavethespecifiedattributewithavalueexactlyequaltoacertainvalue.
(//api.jquery.com/category/properties/global
jqueryobjectproperties/)
Selectors(//api.jquery.com/category/selectors/)>Attribute(//api.jquery.com/category/selectors/attributeselectors/) | Selectors
(//api.jquery.com/category/selectors/)>jQueryExtensions(//api.jquery.com/category/selectors/jqueryselectorextensions/)
Removed
(//api.jquery.com/category/removed/)
AttriuteNotqualelector[name!=value](//api.jquer.com/attriutenot
Selectors equalelector/)
(//api.jquery.com/category/selectors/) Selectelementsthateitherdonthavethespecifiedattribute,ordohavethespecifiedattributebutnotwith
Attribute acertainvalue.
(//api.jquery.com/category/selectors/attribute
selectors/)
Selectors(//api.jquery.com/category/selectors/)>Attribute(//api.jquery.com/category/selectors/attributeselectors/)
Basic
AttriutetartWithelector[name^=value](//api.jquer.com/attriutetart
(//api.jquery.com/category/selectors/basic
cssselectors/) withelector/)
BasicFilter Selectselementsthathavethespecifiedattributewithavaluebeginningexactlywithagivenstring.
(//api.jquery.com/category/selectors/basic
filterselectors/) Manipulation(//api.jquery.com/category/manipulation/)>DOMInsertion,Outside(//api.jquery.com/category/manipulation/dom
insertionoutside/)
ChildFilter
(//api.jquery.com/category/selectors/child .efore()(//api.jquer.com/efore/)
filterselectors/)
Insertcontent,specifiedbytheparameter,beforeeachelementinthesetofmatchedelements.
ContentFilter
(//api.jquery.com/category/selectors/content
Deprecated(//api.jquery.com/category/deprecated/)>Deprecated3.0(//api.jquery.com/category/deprecated/deprecated3.0/) |
filterselector/)
Events(//api.jquery.com/category/events/)>EventHandlerAttachment(//api.jquery.com/category/events/eventhandler
Form attachment/)
(//api.jquery.com/category/selectors/form
.ind()(//api.jquer.com/ind/)
selectors/)
Attachahandlertoaneventfortheelements.
Hierarchy
(//api.jquery.com/category/selectors/hierarchy
selectors/) Events(//api.jquery.com/category/events/)>FormEvents(//api.jquery.com/category/events/formevents/) | Forms
(//api.jquery.com/category/forms/)
jQueryExtensions
(//api.jquery.com/category/selectors/jquery .lur()(//api.jquer.com/lur/)
selectorextensions/) BindaneventhandlertotheblurJavaScriptevent,ortriggerthateventonanelement.
VisibilityFilter
(//api.jquery.com/category/selectors/visibility
Selectors(//api.jquery.com/category/selectors/)>Form(//api.jquery.com/category/selectors/formselectors/) | Selectors
filterselectors/)
(//api.jquery.com/category/selectors/)>jQueryExtensions(//api.jquery.com/category/selectors/jqueryselectorextensions/)
:uttonelector(//api.jquer.com/uttonelector/)
Traversing
(//api.jquery.com/category/traversing/) Selectsallbuttonelementsandelementsoftypebutton.
Filtering
(//api.jquery.com/category/traversing/filtering/) CallbacksObject(//api.jquery.com/category/callbacksobject/)
callack.add()
MiscellaneousTraversing
(//api.jquer.com/callack.add/)
(//api.jquery.com/category/traversing/miscellaneous
traversal/) Addacallbackoracollectionofcallbackstoacallbacklist.
TreeTraversal
(//api.jquery.com/category/traversing/tree
traversal/)
CallbacksObject(//api.jquery.com/category/callbacksobject/)
Utilities
callack.diale()
(//api.jquery.com/category/utilities/) (//api.jquer.com/callack.diale/)
Version Disableacallbacklistfromdoinganythingmore.
(//api.jquery.com/category/version/)
Version1.0
CallbacksObject(//api.jquery.com/category/callbacksobject/)
(//api.jquery.com/category/version/1.0/) callack.dialed()
Version1.0.4 (//api.jquer.com/callack.dialed/)
(//api.jquery.com/category/version/1.0.4/) Determineifthecallbackslisthasbeendisabled.
Version1.1
(//api.jquery.com/category/version/1.1/)
CallbacksObject(//api.jquery.com/category/callbacksobject/)
callack.empt()
Version1.1.2
(//api.jquery.com/category/version/1.1.2/) (//api.jquer.com/callack.empt/)
Version1.1.3 Removeallofthecallbacksfromalist.
(//api.jquery.com/category/version/1.1.3/)
Version1.1.4 CallbacksObject(//api.jquery.com/category/callbacksobject/)
callack.fire()
(//api.jquery.com/category/version/1.1.4/)
Version1.2 (//api.jquer.com/callack.fire/)
(//api.jquery.com/category/version/1.2/) Callallofthecallbackswiththegivenarguments.
Version1.2.3
(//api.jquery.com/category/version/1.2.3/) CallbacksObject(//api.jquery.com/category/callbacksobject/)
callack.fired()
Version1.2.6
(//api.jquery.com/category/version/1.2.6/) (//api.jquer.com/callack.fired/)
Determineifthecallbackshavealreadybeencalledatleastonce.
Version1.3
(//api.jquery.com/category/version/1.3/)
CallbacksObject(//api.jquery.com/category/callbacksobject/)
Version1.4 callack.fireWith()
(//api.jquery.com/category/version/1.4/)
(//api.jquer.com/callack.fireWith/)
Version1.4.1 Callallcallbacksinalistwiththegivencontextandarguments.
(//api.jquery.com/category/version/1.4.1/)
Version1.4.2 CallbacksObject(//api.jquery.com/category/callbacksobject/)
callack.ha()
(//api.jquery.com/category/version/1.4.2/)
(//api.jquer.com/callack.ha/)
Version1.4.3
(//api.jquery.com/category/version/1.4.3/) Determinewhetherornotthelisthasanycallbacksattached.Ifacallbackisprovidedasanargument,
determinewhetheritisinalist.
Version1.4.4
(//api.jquery.com/category/version/1.4.4/)
CallbacksObject(//api.jquery.com/category/callbacksobject/)
Version1.5 callack.lock()
(//api.jquery.com/category/version/1.5/)
(//api.jquer.com/callack.lock/)
Version1.5.1
Lockacallbacklistinitscurrentstate.
(//api.jquery.com/category/version/1.5.1/)
Version1.6
CallbacksObject(//api.jquery.com/category/callbacksobject/)
(//api.jquery.com/category/version/1.6/) callack.locked()
Version1.7 (//api.jquer.com/callack.locked/)
(//api.jquery.com/category/version/1.7/)
Determineifthecallbackslisthasbeenlocked.
Version1.8
(//api.jquery.com/category/version/1.8/)
CallbacksObject(//api.jquery.com/category/callbacksobject/)
Version1.9
callack.remove()
(//api.jquery.com/category/version/1.9/) (//api.jquer.com/callack.remove/)
Version1.12&2.2 Removeacallbackoracollectionofcallbacksfromacallbacklist.
(//api.jquery.com/category/version/1.12
2.2/)
Events(//api.jquery.com/category/events/)>FormEvents(//api.jquery.com/category/events/formevents/) | Forms
Version3.0 (//api.jquery.com/category/forms/)
(//api.jquery.com/category/version/3.0/)
.change()(//api.jquer.com/change/)
Version3.1
BindaneventhandlertothechangeJavaScriptevent,ortriggerthateventonanelement.
(//api.jquery.com/category/version/3.1/)
Selectors(//api.jquery.com/category/selectors/)>Form(//api.jquery.com/category/selectors/formselectors/) | Selectors
(//api.jquery.com/category/selectors/)>jQueryExtensions(//api.jquery.com/category/selectors/jqueryselectorextensions/)
:checkoxelector(//api.jquer.com/checkoxelector/)
Selectsallelementsoftypecheckbox.
Selectors(//api.jquery.com/category/selectors/)>Form(//api.jquery.com/category/selectors/formselectors/)
:checked
elector(//api.jquer.com/checkedelector/)
Matchesallelementsthatarecheckedorselected.
Selectors(//api.jquery.com/category/selectors/)>Hierarchy(//api.jquery.com/category/selectors/hierarchyselectors/)
Child
elector(parent>child)(//api.jquer.com/childelector/)
Selectsalldirectchildelementsspecifiedbychildofelementsspecifiedbyparent.
Traversing(//api.jquery.com/category/traversing/)>TreeTraversal(//api.jquery.com/category/traversing/treetraversal/)
.children()(//api.jquer.com/children/)
Getthechildrenofeachelementinthesetofmatchedelements,optionallyfilteredbyaselector.
Selectors(//api.jquery.com/category/selectors/)>Basic(//api.jquery.com/category/selectors/basiccssselectors/)
Cla
elector(.cla)(//api.jquer.com/claelector/)
Selectsallelementswiththegivenclass.
Effects(//api.jquery.com/category/effects/)>Custom(//api.jquery.com/category/effects/customeffects/) | Data
(//api.jquery.com/category/data/) | Utilities(//api.jquery.com/category/utilities/)
.clearQueue()(//api.jquer.com/clearQueue/)
Removefromthequeueallitemsthathavenotyetbeenrun.
Events(//api.jquery.com/category/events/)>MouseEvents(//api.jquery.com/category/events/mouseevents/)
.click()
(//api.jquer.com/click/)
BindaneventhandlertotheclickJavaScriptevent,ortriggerthateventonanelement.
Manipulation(//api.jquery.com/category/manipulation/)>Copying(//api.jquery.com/category/manipulation/copying/)
.clone()(//api.jquer.com/clone/)
Createadeepcopyofthesetofmatchedelements.
Traversing(//api.jquery.com/category/traversing/)>TreeTraversal(//api.jquery.com/category/traversing/treetraversal/)
.cloet()(//api.jquer.com/cloet/)
Foreachelementintheset,getthefirstelementthatmatchestheselectorbytestingtheelementitselfand
traversingupthroughitsancestorsintheDOMtree.
Selectors(//api.jquery.com/category/selectors/)>ContentFilter(//api.jquery.com/category/selectors/contentfilterselector/)
:contain()elector(//api.jquer.com/containelector/)
Selectallelementsthatcontainthespecifiedtext.
Traversing(//api.jquery.com/category/traversing/)>MiscellaneousTraversing
(//api.jquery.com/category/traversing/miscellaneoustraversal/)
.content()(//api.jquer.com/content/)
Getthechildrenofeachelementinthesetofmatchedelements,includingtextandcommentnodes.
Deprecated(//api.jquery.com/category/deprecated/)>Deprecated1.10(//api.jquery.com/category/deprecated/deprecated
1.10/) | Internals(//api.jquery.com/category/internals/) | Properties(//api.jquery.com/category/properties/)>Propertiesof
jQueryObjectInstances(//api.jquery.com/category/properties/jqueryobjectinstanceproperties/) | Removed
(//api.jquery.com/category/removed/)
.context(//api.jquer.com/context/)
TheDOMnodecontextoriginallypassedtojQuery()ifnonewaspassedthencontextwilllikelybethe
document.
Events(//api.jquery.com/category/events/)>MouseEvents(//api.jquery.com/category/events/mouseevents/)
.contextmenu()(//api.jquer.com/contextmenu/)
BindaneventhandlertothecontextmenuJavaScriptevent,ortriggerthateventonanelement.
CSS(//api.jquery.com/category/css/) | Manipulation(//api.jquery.com/category/manipulation/)>StyleProperties
(//api.jquery.com/category/manipulation/styleproperties/)
.c()(//api.jquer.com/c/)
Getthevalueofacomputedstylepropertyforthefirstelementinthesetofmatchedelementsorsetone
ormoreCSSpropertiesforeverymatchedelement.
Data(//api.jquery.com/category/data/) | Miscellaneous(//api.jquery.com/category/miscellaneous/)>DataStorage
(//api.jquery.com/category/miscellaneous/datastorage/)
.data()(//api.jquer.com/data/)
Storearbitrarydataassociatedwiththematchedelementsorreturnthevalueatthenameddatastorefor
thefirstelementinthesetofmatchedelements.
Events(//api.jquery.com/category/events/)>MouseEvents(//api.jquery.com/category/events/mouseevents/)
.dlclick()
(//api.jquer.com/dlclick/)
BindaneventhandlertothedblclickJavaScriptevent,ortriggerthateventonanelement.
DeferredObject(//api.jquery.com/category/deferredobject/)
deferred.alwa()
(//api.jquer.com/deferred.alwa/)
AddhandlerstobecalledwhentheDeferredobjectiseitherresolvedorrejected.
DeferredObject(//api.jquery.com/category/deferredobject/)
deferred.catch()
(//api.jquer.com/deferred.catch/)
AddhandlerstobecalledwhentheDeferredobjectisrejected.
DeferredObject(//api.jquery.com/category/deferredobject/)
deferred.done()
(//api.jquer.com/deferred.done/)
AddhandlerstobecalledwhentheDeferredobjectisresolved.
DeferredObject(//api.jquery.com/category/deferredobject/)
deferred.fail()
(//api.jquer.com/deferred.fail/)
AddhandlerstobecalledwhentheDeferredobjectisrejected.
DeferredObject(//api.jquery.com/category/deferredobject/) | Deprecated(//api.jquery.com/category/deprecated/)>
Deprecated1.7(//api.jquery.com/category/deprecated/deprecated1.7/) | Removed(//api.jquery.com/category/removed/)
deferred.iRejected()(//api.jquer.com/deferred.iRejected/)
DeterminewhetheraDeferredobjecthasbeenrejected.
DeferredObject(//api.jquery.com/category/deferredobject/) | Deprecated(//api.jquery.com/category/deprecated/)>
Deprecated1.7(//api.jquery.com/category/deprecated/deprecated1.7/) | Removed(//api.jquery.com/category/removed/)
deferred.iReolved()(//api.jquer.com/deferred.iReolved/)
DeterminewhetheraDeferredobjecthasbeenresolved.
DeferredObject(//api.jquery.com/category/deferredobject/)
deferred.notif()
(//api.jquer.com/deferred.notif/)
CalltheprogressCallbacksonaDeferredobjectwiththegivenargs.
DeferredObject(//api.jquery.com/category/deferredobject/)
deferred.notifWith()
(//api.jquer.com/deferred.notifWith/)
CalltheprogressCallbacksonaDeferredobjectwiththegivencontextandargs.
DeferredObject(//api.jquery.com/category/deferredobject/) | Deprecated(//api.jquery.com/category/deprecated/)>
Deprecated1.8(//api.jquery.com/category/deprecated/deprecated1.8/)
deferred.pipe()(//api.jquer.com/deferred.pipe/)
Utilitymethodtofilterand/orchainDeferreds.
DeferredObject(//api.jquery.com/category/deferredobject/)
deferred.progre()
(//api.jquer.com/deferred.progre/)
AddhandlerstobecalledwhentheDeferredobjectgeneratesprogressnotifications.
DeferredObject(//api.jquery.com/category/deferredobject/)
deferred.promie()
(//api.jquer.com/deferred.promie/)
ReturnaDeferredsPromiseobject.
DeferredObject(//api.jquery.com/category/deferredobject/)
deferred.reject()
(//api.jquer.com/deferred.reject/)
RejectaDeferredobjectandcallanyfailCallbackswiththegivenargs.
DeferredObject(//api.jquery.com/category/deferredobject/)
deferred.rejectWith()
(//api.jquer.com/deferred.rejectWith/)
RejectaDeferredobjectandcallanyfailCallbackswiththegivencontextandargs.
DeferredObject(//api.jquery.com/category/deferredobject/)
deferred.reolve()
(//api.jquer.com/deferred.reolve/)
ResolveaDeferredobjectandcallanydoneCallbackswiththegivenargs.
DeferredObject(//api.jquery.com/category/deferredobject/)
deferred.reolveWith()
(//api.jquer.com/deferred.reolveWith/)
ResolveaDeferredobjectandcallanydoneCallbackswiththegivencontextandargs.
DeferredObject(//api.jquery.com/category/deferredobject/)
deferred.tate()
(//api.jquer.com/deferred.tate/)
DeterminethecurrentstateofaDeferredobject.
DeferredObject(//api.jquery.com/category/deferredobject/)
deferred.then()
(//api.jquer.com/deferred.then/)
AddhandlerstobecalledwhentheDeferredobjectisresolved,rejected,orstillinprogress.
Effects(//api.jquery.com/category/effects/)>Custom(//api.jquery.com/category/effects/customeffects/)
.dela()
(//api.jquer.com/dela/)
Setatimertodelayexecutionofsubsequentitemsinthequeue.
Deprecated(//api.jquery.com/category/deprecated/)>Deprecated3.0(//api.jquery.com/category/deprecated/deprecated3.0/) |
Events(//api.jquery.com/category/events/)>EventHandlerAttachment(//api.jquery.com/category/events/eventhandler
attachment/)
.delegate()(//api.jquer.com/delegate/)
Attachahandlertooneormoreeventsforallelementsthatmatchtheselector,noworinthefuture,based
onaspecificsetofrootelements.
Effects(//api.jquery.com/category/effects/)>Custom(//api.jquery.com/category/effects/customeffects/) | Data
(//api.jquery.com/category/data/) | Utilities(//api.jquery.com/category/utilities/)
.dequeue()(//api.jquer.com/dequeue/)
Executethenextfunctiononthequeueforthematchedelements.
Selectors(//api.jquery.com/category/selectors/)>Hierarchy(//api.jquery.com/category/selectors/hierarchyselectors/)
Decendantelector(ancetordecendant)(//api.jquer.com/decendant
elector/)
Selectsallelementsthataredescendantsofagivenancestor.
Manipulation(//api.jquery.com/category/manipulation/)>DOMRemoval(//api.jquery.com/category/manipulation/dom
removal/)
.detach()(//api.jquer.com/detach/)
RemovethesetofmatchedelementsfromtheDOM.
Deprecated(//api.jquery.com/category/deprecated/)>Deprecated1.7(//api.jquery.com/category/deprecated/deprecated1.7/) |
Events(//api.jquery.com/category/events/)>EventHandlerAttachment(//api.jquery.com/category/events/eventhandler
attachment/) | Removed(//api.jquery.com/category/removed/)
.die()(//api.jquer.com/die/)
Removeeventhandlerspreviouslyattachedusing.live()fromtheelements.
Selectors(//api.jquery.com/category/selectors/)>Form(//api.jquery.com/category/selectors/formselectors/)
:dialed
elector(//api.jquer.com/dialedelector/)
Selectsallelementsthataredisabled.
Miscellaneous(//api.jquery.com/category/miscellaneous/)>CollectionManipulation
(//api.jquery.com/category/miscellaneous/collectionmanipulation/) | Traversing(//api.jquery.com/category/traversing/)
.each()(//api.jquer.com/each/)
IterateoverajQueryobject,executingafunctionforeachmatchedelement.
Selectors(//api.jquery.com/category/selectors/)>Basic(//api.jquery.com/category/selectors/basiccssselectors/)
lement
elector(element)(//api.jquer.com/elementelector/)
Selectsallelementswiththegiventagname.
Manipulation(//api.jquery.com/category/manipulation/)>DOMRemoval(//api.jquery.com/category/manipulation/dom
removal/)
.empt()(//api.jquer.com/empt/)
RemoveallchildnodesofthesetofmatchedelementsfromtheDOM.
Selectors(//api.jquery.com/category/selectors/)>ContentFilter(//api.jquery.com/category/selectors/contentfilterselector/)
:emptelector(//api.jquer.com/emptelector/)
Selectallelementsthathavenochildren(includingtextnodes).
Selectors(//api.jquery.com/category/selectors/)>Form(//api.jquery.com/category/selectors/formselectors/)
:enaled
elector(//api.jquer.com/enaledelector/)
Selectsallelementsthatareenabled.
Traversing(//api.jquery.com/category/traversing/)>MiscellaneousTraversing
(//api.jquery.com/category/traversing/miscellaneoustraversal/)
.end()(//api.jquer.com/end/)
Endthemostrecentfilteringoperationinthecurrentchainandreturnthesetofmatchedelementstoits
previousstate.
Traversing(//api.jquery.com/category/traversing/)>Filtering(//api.jquery.com/category/traversing/filtering/)
.eq()
(//api.jquer.com/eq/)
Reducethesetofmatchedelementstotheoneatthespecifiedindex.
Selectors(//api.jquery.com/category/selectors/)>BasicFilter(//api.jquery.com/category/selectors/basicfilterselectors/) |
Selectors(//api.jquery.com/category/selectors/)>jQueryExtensions(//api.jquery.com/category/selectors/jqueryselector
extensions/)
:eq()elector(//api.jquer.com/eqelector/)
Selecttheelementatindexnwithinthematchedset.
Events(//api.jquery.com/category/events/)>BrowserEvents(//api.jquery.com/category/events/browserevents/) | Deprecated
(//api.jquery.com/category/deprecated/)>Deprecated1.8(//api.jquery.com/category/deprecated/deprecated1.8/) | Removed
(//api.jquery.com/category/removed/)
.error()(//api.jquer.com/error/)
BindaneventhandlertotheerrorJavaScriptevent.
Selectors(//api.jquery.com/category/selectors/)>BasicFilter(//api.jquery.com/category/selectors/basicfilterselectors/) |
Selectors(//api.jquery.com/category/selectors/)>jQueryExtensions(//api.jquery.com/category/selectors/jqueryselector
extensions/)
:evenelector(//api.jquer.com/evenelector/)
Selectsevenelements,zeroindexed.Seealsoodd.
Events(//api.jquery.com/category/events/)>EventObject(//api.jquery.com/category/events/eventobject/)
event.currentTarget(//api.jquer.com/event.currentTarget/)
ThecurrentDOMelementwithintheeventbubblingphase.
Events(//api.jquery.com/category/events/)>EventObject(//api.jquery.com/category/events/eventobject/)
event.data
(//api.jquer.com/event.data/)
Anoptionalobjectofdatapassedtoaneventmethodwhenthecurrentexecutinghandlerisbound.
Events(//api.jquery.com/category/events/)>EventObject(//api.jquery.com/category/events/eventobject/) | Events
(//api.jquery.com/category/events/)
event.delegateTarget(//api.jquer.com/event.delegateTarget/)
TheelementwherethecurrentlycalledjQueryeventhandlerwasattached.
Events(//api.jquery.com/category/events/)>EventObject(//api.jquery.com/category/events/eventobject/)
event.iDefaultPrevented()(//api.jquer.com/event.iDefaultPrevented/)
Returnswhetherevent.preventDefault()wasevercalledonthiseventobject.
Events(//api.jquery.com/category/events/)>EventObject(//api.jquery.com/category/events/eventobject/)
event.iImmediatePropagationtopped()
(//api.jquer.com/event.iImmediatePropagationtopped/)
Returnswhetherevent.stopImmediatePropagation()wasevercalledonthiseventobject.
Events(//api.jquery.com/category/events/)>EventObject(//api.jquery.com/category/events/eventobject/)
event.iPropagationtopped()(//api.jquer.com/event.iPropagationtopped/)
Returnswhetherevent.stopPropagation()wasevercalledonthiseventobject.
Events(//api.jquery.com/category/events/)>EventObject(//api.jquery.com/category/events/eventobject/)
event.metaKe(//api.jquer.com/event.metaKe/)
IndicateswhethertheMETAkeywaspressedwhentheeventfired.
Events(//api.jquery.com/category/events/)>EventObject(//api.jquery.com/category/events/eventobject/)
event.namepace(//api.jquer.com/event.namepace/)
Thenamespacespecifiedwhentheeventwastriggered.
Events(//api.jquery.com/category/events/)>EventObject(//api.jquery.com/category/events/eventobject/)
event.pageX
(//api.jquer.com/event.pageX/)
Themousepositionrelativetotheleftedgeofthedocument.
Events(//api.jquery.com/category/events/)>EventObject(//api.jquery.com/category/events/eventobject/)
event.pageY
(//api.jquer.com/event.pageY/)
Themousepositionrelativetothetopedgeofthedocument.
Events(//api.jquery.com/category/events/)>EventObject(//api.jquery.com/category/events/eventobject/)
event.preventDefault()(//api.jquer.com/event.preventDefault/)
Ifthismethodiscalled,thedefaultactionoftheeventwillnotbetriggered.
Events(//api.jquery.com/category/events/)>EventObject(//api.jquery.com/category/events/eventobject/)
event.relatedTarget(//api.jquer.com/event.relatedTarget/)
TheotherDOMelementinvolvedintheevent,ifany.
Events(//api.jquery.com/category/events/)>EventObject(//api.jquery.com/category/events/eventobject/)
event.reult
(//api.jquer.com/event.reult/)
Thelastvaluereturnedbyaneventhandlerthatwastriggeredbythisevent,unlessthevaluewas
undefined.
Events(//api.jquery.com/category/events/)>EventObject(//api.jquery.com/category/events/eventobject/)
event.topImmediatePropagation()
(//api.jquer.com/event.topImmediatePropagation/)
KeepstherestofthehandlersfrombeingexecutedandpreventstheeventfrombubblinguptheDOM
tree.
Events(//api.jquery.com/category/events/)>EventObject(//api.jquery.com/category/events/eventobject/)
event.topPropagation()(//api.jquer.com/event.topPropagation/)
PreventstheeventfrombubblinguptheDOMtree,preventinganyparenthandlersfrombeingnotifiedof
theevent.
Events(//api.jquery.com/category/events/)>EventObject(//api.jquery.com/category/events/eventobject/)
event.target
(//api.jquer.com/event.target/)
TheDOMelementthatinitiatedtheevent.
Events(//api.jquery.com/category/events/)>EventObject(//api.jquery.com/category/events/eventobject/)
event.timetamp(//api.jquer.com/event.timetamp/)
ThedifferenceinmillisecondsbetweenthetimethebrowsercreatedtheeventandJanuary1,1970.
Events(//api.jquery.com/category/events/)>EventObject(//api.jquery.com/category/events/eventobject/)
event.tpe
(//api.jquer.com/event.tpe/)
Describesthenatureoftheevent.
Events(//api.jquery.com/category/events/)>EventObject(//api.jquery.com/category/events/eventobject/)
event.which
(//api.jquer.com/event.which/)
Forkeyormouseevents,thispropertyindicatesthespecifickeyorbuttonthatwaspressed.
Effects(//api.jquery.com/category/effects/)>Fading(//api.jquery.com/category/effects/fading/)
.fadeIn()
(//api.jquer.com/fadeIn/)
Displaythematchedelementsbyfadingthemtoopaque.
Effects(//api.jquery.com/category/effects/)>Fading(//api.jquery.com/category/effects/fading/)
.fadeOut()
(//api.jquer.com/fadeOut/)
Hidethematchedelementsbyfadingthemtotransparent.
Effects(//api.jquery.com/category/effects/)>Fading(//api.jquery.com/category/effects/fading/)
.fadeTo()
(//api.jquer.com/fadeTo/)
Adjusttheopacityofthematchedelements.
Effects(//api.jquery.com/category/effects/) | Effects(//api.jquery.com/category/effects/)>Fading
(//api.jquery.com/category/effects/fading/)
.fadeToggle()(//api.jquer.com/fadeToggle/)
Displayorhidethematchedelementsbyanimatingtheiropacity.
Selectors(//api.jquery.com/category/selectors/)>Form(//api.jquery.com/category/selectors/formselectors/) | Selectors
(//api.jquery.com/category/selectors/)>jQueryExtensions(//api.jquery.com/category/selectors/jqueryselectorextensions/)
:fileelector(//api.jquer.com/fileelector/)
Selectsallelementsoftypefile.
Traversing(//api.jquery.com/category/traversing/)>Filtering(//api.jquery.com/category/traversing/filtering/)
.filter()
(//api.jquer.com/filter/)
Reducethesetofmatchedelementstothosethatmatchtheselectororpassthefunctionstest.
Traversing(//api.jquery.com/category/traversing/)>TreeTraversal(//api.jquery.com/category/traversing/treetraversal/)
.find()(//api.jquer.com/find/)
Getthedescendantsofeachelementinthecurrentsetofmatchedelements,filteredbyaselector,jQuery
object,orelement.
Effects(//api.jquery.com/category/effects/)>Custom(//api.jquery.com/category/effects/customeffects/)
.finih()
(//api.jquer.com/finih/)
Stopthecurrentlyrunninganimation,removeallqueuedanimations,andcompleteallanimationsforthe
matchedelements.
Traversing(//api.jquery.com/category/traversing/)>Filtering(//api.jquery.com/category/traversing/filtering/)
.firt()
(//api.jquer.com/firt/)
Reducethesetofmatchedelementstothefirstintheset.
:firt Selectors(//api.jquery.com/category/selectors/)>ChildFilter(//api.jquery.com/category/selectors/childfilterselectors/)
childelector(//api.jquer.com/firtchildelector/)
Selectsallelementsthatarethefirstchildoftheirparent.
:firt Selectors(//api.jquery.com/category/selectors/)>ChildFilter(//api.jquery.com/category/selectors/childfilterselectors/)
oftpeelector(//api.jquer.com/firtoftpeelector/)
Selectsallelementsthatarethefirstamongsiblingsofthesameelementname.
Selectors(//api.jquery.com/category/selectors/)>BasicFilter(//api.jquery.com/category/selectors/basicfilterselectors/) |
Selectors(//api.jquery.com/category/selectors/)>jQueryExtensions(//api.jquery.com/category/selectors/jqueryselector
extensions/)
:firtelector(//api.jquer.com/firtelector/)
SelectsthefirstmatchedDOMelement.
.focu()(//api.jquer.com/focu/)
Events(//api.jquery.com/category/events/)>FormEvents(//api.jquery.com/category/events/formevents/) | Forms
(//api.jquery.com/category/forms/)
BindaneventhandlertothefocusJavaScriptevent,ortriggerthateventonanelement.
Selectors(//api.jquery.com/category/selectors/)>BasicFilter(//api.jquery.com/category/selectors/basicfilterselectors/) |
Selectors(//api.jquery.com/category/selectors/)>Form(//api.jquery.com/category/selectors/formselectors/)
:focuelector(//api.jquer.com/focuelector/)
Selectselementifitiscurrentlyfocused.
Events(//api.jquery.com/category/events/)>FormEvents(//api.jquery.com/category/events/formevents/) | Forms
(//api.jquery.com/category/forms/)
.focuin()(//api.jquer.com/focuin/)
Bindaneventhandlertothefocusinevent.
Events(//api.jquery.com/category/events/)>FormEvents(//api.jquery.com/category/events/formevents/) | Forms
(//api.jquery.com/category/forms/)
.focuout()(//api.jquer.com/focuout/)
BindaneventhandlertothefocusoutJavaScriptevent.
Miscellaneous(//api.jquery.com/category/miscellaneous/)>DOMElementMethods
(//api.jquery.com/category/miscellaneous/domelementmethods/)
.get()(//api.jquer.com/get/)
RetrievetheDOMelementsmatchedbythejQueryobject.
Selectors(//api.jquery.com/category/selectors/)>BasicFilter(//api.jquery.com/category/selectors/basicfilterselectors/) |
Selectors(//api.jquery.com/category/selectors/)>jQueryExtensions(//api.jquery.com/category/selectors/jqueryselector
extensions/)
:gt()elector(//api.jquer.com/gtelector/)
Selectallelementsatanindexgreaterthanindexwithinthematchedset.
Traversing(//api.jquery.com/category/traversing/)>Filtering(//api.jquery.com/category/traversing/filtering/)
.ha()
(//api.jquer.com/ha/)
ReducethesetofmatchedelementstothosethathaveadescendantthatmatchestheselectororDOM
element.
Selectors(//api.jquery.com/category/selectors/)>Attribute(//api.jquery.com/category/selectors/attributeselectors/)
Ha
Attriuteelector[name](//api.jquer.com/haattriuteelector/)
Selectselementsthathavethespecifiedattribute,withanyvalue.
Selectors(//api.jquery.com/category/selectors/)>ContentFilter(//api.jquery.com/category/selectors/contentfilterselector/) |
Selectors(//api.jquery.com/category/selectors/)>jQueryExtensions(//api.jquery.com/category/selectors/jqueryselector
extensions/)
:ha()elector(//api.jquer.com/haelector/)
Selectselementswhichcontainatleastoneelementthatmatchesthespecifiedselector.
Attributes(//api.jquery.com/category/attributes/) | Manipulation(//api.jquery.com/category/manipulation/)>ClassAttribute
(//api.jquery.com/category/manipulation/classattribute/) | CSS(//api.jquery.com/category/css/)
.haCla()(//api.jquer.com/haCla/)
Determinewhetheranyofthematchedelementsareassignedthegivenclass.
Selectors(//api.jquery.com/category/selectors/)>BasicFilter(//api.jquery.com/category/selectors/basicfilterselectors/) |
Selectors(//api.jquery.com/category/selectors/)>jQueryExtensions(//api.jquery.com/category/selectors/jqueryselector
extensions/)
:headerelector(//api.jquer.com/headerelector/)
Selectsallelementsthatareheaders,likeh1,h2,h3andsoon.
.height()(//api.jquer.com/height/)
Getthecurrentcomputedheightforthefirstelementinthesetofmatchedelementsorsettheheightof
everymatchedelement.
Selectors(//api.jquery.com/category/selectors/)>jQueryExtensions(//api.jquery.com/category/selectors/jqueryselector
extensions/) | Selectors(//api.jquery.com/category/selectors/)>VisibilityFilter(//api.jquery.com/category/selectors/visibility
filterselectors/)
:hiddenelector(//api.jquer.com/hiddenelector/)
Selectsallelementsthatarehidden.
Effects(//api.jquery.com/category/effects/)>Basics(//api.jquery.com/category/effects/basics/)
.hide()
(//api.jquer.com/hide/)
Hidethematchedelements.
Events(//api.jquery.com/category/events/)>MouseEvents(//api.jquery.com/category/events/mouseevents/)
.hover()
(//api.jquer.com/hover/)
Bindoneortwohandlerstothematchedelements,tobeexecutedwhenthemousepointerentersand
leavestheelements.
Attributes(//api.jquery.com/category/attributes/) | Manipulation(//api.jquery.com/category/manipulation/)>DOMInsertion,
Inside(//api.jquery.com/category/manipulation/dominsertioninside/)
.html()(//api.jquer.com/html/)
GettheHTMLcontentsofthefirstelementinthesetofmatchedelementsorsettheHTMLcontentsof
everymatchedelement.
Selectors(//api.jquery.com/category/selectors/)>Basic(//api.jquery.com/category/selectors/basiccssselectors/)
ID
elector(#id)(//api.jquer.com/idelector/)
Selectsasingleelementwiththegivenidattribute.
Selectors(//api.jquery.com/category/selectors/)>Form(//api.jquery.com/category/selectors/formselectors/) | Selectors
(//api.jquery.com/category/selectors/)>jQueryExtensions(//api.jquery.com/category/selectors/jqueryselectorextensions/)
:imageelector(//api.jquer.com/imageelector/)
Selectsallelementsoftypeimage.
Miscellaneous(//api.jquery.com/category/miscellaneous/)>DOMElementMethods
(//api.jquery.com/category/miscellaneous/domelementmethods/)
.index()(//api.jquer.com/index/)
Searchforagivenelementfromamongthematchedelements.
.innerHeight()(//api.jquer.com/innerHeight/)
Getthecurrentcomputedinnerheight(includingpaddingbutnotborder)forthefirstelementinthesetof
matchedelementsorsettheinnerheightofeverymatchedelement.
Selectors(//api.jquery.com/category/selectors/)>Form(//api.jquery.com/category/selectors/formselectors/) | Selectors
(//api.jquery.com/category/selectors/)>jQueryExtensions(//api.jquery.com/category/selectors/jqueryselectorextensions/)
:inputelector(//api.jquer.com/inputelector/)
Selectsallinput,textarea,selectandbuttonelements.
Manipulation(//api.jquery.com/category/manipulation/)>DOMInsertion,Outside(//api.jquery.com/category/manipulation/dom
insertionoutside/)
.inertAfter()(//api.jquer.com/inertAfter/)
Inserteveryelementinthesetofmatchedelementsafterthetarget.
Manipulation(//api.jquery.com/category/manipulation/)>DOMInsertion,Outside(//api.jquery.com/category/manipulation/dom
insertionoutside/)
.inertefore()(//api.jquer.com/inertefore/)
Inserteveryelementinthesetofmatchedelementsbeforethetarget.
Traversing(//api.jquery.com/category/traversing/)>Filtering(//api.jquery.com/category/traversing/filtering/)
.i()
(//api.jquer.com/i/)
Checkthecurrentmatchedsetofelementsagainstaselector,element,orjQueryobjectandreturntrueif
atleastoneoftheseelementsmatchesthegivenarguments.
Core(//api.jquery.com/category/core/)
jQuer()(//api.jquer.com/jQuer/)
ReturnacollectionofmatchedelementseitherfoundintheDOMbasedonpassedargument(s)orcreated
bypassinganHTMLstring.
Internals(//api.jquery.com/category/internals/) | Properties(//api.jquery.com/category/properties/)>PropertiesofjQueryObject
Instances(//api.jquery.com/category/properties/jqueryobjectinstanceproperties/)
.jquer(//api.jquer.com/jquer2/)
AstringcontainingthejQueryversionnumber.
Ajax(//api.jquery.com/category/ajax/)>LowLevelInterface(//api.jquery.com/category/ajax/lowlevelinterface/)
jQuer.ajax()(//api.jquer.com/jQuer.ajax/)
PerformanasynchronousHTTP(Ajax)request.
Ajax(//api.jquery.com/category/ajax/)>LowLevelInterface(//api.jquery.com/category/ajax/lowlevelinterface/)
jQuer.ajaxPrefilter()(//api.jquer.com/jQuer.ajaxPrefilter/)
HandlecustomAjaxoptionsormodifyexistingoptionsbeforeeachrequestissentandbeforetheyare
processedby$.ajax().
Ajax(//api.jquery.com/category/ajax/)>LowLevelInterface(//api.jquery.com/category/ajax/lowlevelinterface/)
jQuer.ajaxetup()(//api.jquer.com/jQuer.ajaxetup/)
SetdefaultvaluesforfutureAjaxrequests.Itsuseisnotrecommended.
Ajax(//api.jquery.com/category/ajax/)>LowLevelInterface(//api.jquery.com/category/ajax/lowlevelinterface/)
jQuer.ajaxTranport()(//api.jquer.com/jQuer.ajaxTranport/)
CreatesanobjectthathandlestheactualtransmissionofAjaxdata.
Deprecated(//api.jquery.com/category/deprecated/)>Deprecated1.3(//api.jquery.com/category/deprecated/deprecated1.3/) |
Removed(//api.jquery.com/category/removed/) | Utilities(//api.jquery.com/category/utilities/)
jQuer.oxModel(//api.jquer.com/jQuer.oxModel/)
Statesifthecurrentpage,intheusersbrowser,isbeingrenderedusingtheW3CCSSBoxModel.This
propertywasremovedinjQuery1.8.Pleasetrytousefeaturedetectioninstead.
Deprecated(//api.jquery.com/category/deprecated/)>Deprecated1.3(//api.jquery.com/category/deprecated/deprecated1.3/) |
Properties(//api.jquery.com/category/properties/)>PropertiesoftheGlobaljQueryObject
(//api.jquery.com/category/properties/globaljqueryobjectproperties/) | Removed(//api.jquery.com/category/removed/) |
Utilities(//api.jquery.com/category/utilities/)
jQuer.rower(//api.jquer.com/jQuer.rower/)
Containsflagsfortheuseragent,readfromnavigator.userAgent.ThispropertywasremovedinjQuery1.9
andisavailableonlythroughthejQuery.migrateplugin.Pleasetrytousefeaturedetectioninstead.
CallbacksObject(//api.jquery.com/category/callbacksobject/)
jQuer.Callack()
(//api.jquer.com/jQuer.Callack/)
Amultipurposecallbackslistobjectthatprovidesapowerfulwaytomanagecallbacklists.
Utilities(//api.jquery.com/category/utilities/)
jQuer.contain()(//api.jquer.com/jQuer.contain/)
ChecktoseeifaDOMelementisadescendantofanotherDOMelement.
CSS(//api.jquery.com/category/css/)
jQuer.cHook(//api.jquer.com/jQuer.cHook/)
HookdirectlyintojQuerytooverridehowparticularCSSpropertiesareretrievedorset,normalizeCSS
propertynaming,orcreatecustomproperties.
CSS(//api.jquery.com/category/css/) | Manipulation(//api.jquery.com/category/manipulation/)>StyleProperties
(//api.jquery.com/category/manipulation/styleproperties/)
jQuer.cNumer(//api.jquer.com/jQuer.cNumer/)
AnobjectcontainingallCSSpropertiesthatmaybeusedwithoutaunit.The.css()methodusesthis
objecttoseeifitmayappendpxtounitlessvalues.
Data(//api.jquery.com/category/data/) | Utilities(//api.jquery.com/category/utilities/)
jQuer.data()
(//api.jquer.com/jQuer.data/)
Storearbitrarydataassociatedwiththespecifiedelementand/orreturnthevaluethatwasset.
DeferredObject(//api.jquery.com/category/deferredobject/)
jQuer.Deferred()
(//api.jquer.com/jQuer.Deferred/)
Afactoryfunctionthatreturnsachainableutilityobjectwithmethodstoregistermultiplecallbacksinto
callbackqueues,invokecallbackqueues,andrelaythesuccessorfailurestateofanysynchronousor
asynchronousfunction.
Data(//api.jquery.com/category/data/) | Utilities(//api.jquery.com/category/utilities/)
jQuer.dequeue()
(//api.jquer.com/jQuer.dequeue/)
Executethenextfunctiononthequeueforthematchedelement.
Utilities(//api.jquery.com/category/utilities/)
jQuer.each()(//api.jquer.com/jQuer.each/)
Agenericiteratorfunction,whichcanbeusedtoseamlesslyiterateoverbothobjectsandarrays.Arrays
andarraylikeobjectswithalengthproperty(suchasafunctionsargumentsobject)areiteratedby
numericindex,from0tolength1.Otherobjectsareiteratedviatheirnamedproperties.
Internals(//api.jquery.com/category/internals/)
jQuer.error()(//api.jquer.com/jQuer.error/)
Takesastringandthrowsanexceptioncontainingit.
CSS(//api.jquery.com/category/css/)
jQuer.ecapeelector()
(//api.jquer.com/jQuer.ecapeelector/)
EscapesanycharacterthathasaspecialmeaninginaCSSselector.
Utilities(//api.jquery.com/category/utilities/)
jQuer.extend()(//api.jquer.com/jQuer.extend/)
Mergethecontentsoftwoormoreobjectstogetherintothefirstobject.
Utilities(//api.jquery.com/category/utilities/)
jQuer.fn.extend()
(//api.jquer.com/jQuer.fn.extend/)
MergethecontentsofanobjectontothejQueryprototypetoprovidenewjQueryinstancemethods.
Effects(//api.jquery.com/category/effects/)>Custom(//api.jquery.com/category/effects/customeffects/) | Deprecated
(//api.jquery.com/category/deprecated/)>Deprecated3.0(//api.jquery.com/category/deprecated/deprecated3.0/) | Properties
(//api.jquery.com/category/properties/)>PropertiesoftheGlobaljQueryObject(//api.jquery.com/category/properties/global
jqueryobjectproperties/)
jQuer.fx.interval(//api.jquer.com/jQuer.fx.interval/)
Therate(inmilliseconds)atwhichanimationsfire.
Effects(//api.jquery.com/category/effects/)>Custom(//api.jquery.com/category/effects/customeffects/) | Properties
(//api.jquery.com/category/properties/)>PropertiesoftheGlobaljQueryObject(//api.jquery.com/category/properties/global
jqueryobjectproperties/)
jQuer.fx.off(//api.jquer.com/jQuer.fx.off/)
Globallydisableallanimations.
Ajax(//api.jquery.com/category/ajax/)>ShorthandMethods(//api.jquery.com/category/ajax/shorthandmethods/)
jQuer.get()(//api.jquer.com/jQuer.get/)
LoaddatafromtheserverusingaHTTPGETrequest.
Ajax(//api.jquery.com/category/ajax/)>ShorthandMethods(//api.jquery.com/category/ajax/shorthandmethods/)
jQuer.getJON()(//api.jquer.com/jQuer.getJON/)
LoadJSONencodeddatafromtheserverusingaGETHTTPrequest.
Ajax(//api.jquery.com/category/ajax/)>ShorthandMethods(//api.jquery.com/category/ajax/shorthandmethods/)
jQuer.getcript()(//api.jquer.com/jQuer.getcript/)
LoadaJavaScriptfilefromtheserverusingaGETHTTPrequest,thenexecuteit.
Utilities(//api.jquery.com/category/utilities/)
jQuer.gloalval()
(//api.jquer.com/jQuer.gloalval/)
ExecutesomeJavaScriptcodeglobally.
Utilities(//api.jquery.com/category/utilities/)
jQuer.grep()(//api.jquer.com/jQuer.grep/)
Findstheelementsofanarraywhichsatisfyafilterfunction.Theoriginalarrayisnotaffected.
Data(//api.jquery.com/category/data/)
jQuer.haData()(//api.jquer.com/jQuer.haData/)
DeterminewhetheranelementhasanyjQuerydataassociatedwithit.
Core(//api.jquery.com/category/core/)
jQuer.holdRead()
(//api.jquer.com/jQuer.holdRead/)
HoldsorreleasestheexecutionofjQuerysreadyevent.
Manipulation(//api.jquery.com/category/manipulation/)
jQuer.htmlPrefilter()
(//api.jquer.com/jQuer.htmlPrefilter/)
ModifyandfilterHTMLstringspassedthroughjQuerymanipulationmethods.
Utilities(//api.jquery.com/category/utilities/)
jQuer.inArra()(//api.jquer.com/jQuer.inArra/)
Searchforaspecifiedvaluewithinanarrayandreturnitsindex(or1ifnotfound).
Utilities(//api.jquery.com/category/utilities/)
jQuer.iArra()(//api.jquer.com/jQuer.iArra/)
Determinewhethertheargumentisanarray.
Utilities(//api.jquery.com/category/utilities/)
jQuer.imptOject()
(//api.jquer.com/jQuer.imptOject/)
Checktoseeifanobjectisempty(containsnoenumerableproperties).
Utilities(//api.jquery.com/category/utilities/)
jQuer.iFunction()
(//api.jquer.com/jQuer.iFunction/)
DetermineiftheargumentpassedisaJavaScriptfunctionobject.
Utilities(//api.jquery.com/category/utilities/)
jQuer.iNumeric()
(//api.jquer.com/jQuer.iNumeric/)
DetermineswhetheritsargumentrepresentsaJavaScriptnumber.
Utilities(//api.jquery.com/category/utilities/)
jQuer.iPlainOject()
(//api.jquer.com/jQuer.iPlainOject/)
Checktoseeifanobjectisaplainobject(createdusing{}ornewObject).
Utilities(//api.jquery.com/category/utilities/)
jQuer.iWindow()
(//api.jquer.com/jQuer.iWindow/)
Determinewhethertheargumentisawindow.
Utilities(//api.jquery.com/category/utilities/)
jQuer.iXMLDoc()
(//api.jquer.com/jQuer.iXMLDoc/)
ChecktoseeifaDOMnodeiswithinanXMLdocument(orisanXMLdocument).
Utilities(//api.jquery.com/category/utilities/)
jQuer.makeArra()
(//api.jquer.com/jQuer.makeArra/)
ConvertanarraylikeobjectintoatrueJavaScriptarray.
Utilities(//api.jquery.com/category/utilities/)
jQuer.map()(//api.jquer.com/jQuer.map/)
Translateallitemsinanarrayorobjecttonewarrayofitems.
Utilities(//api.jquery.com/category/utilities/)
jQuer.merge()(//api.jquer.com/jQuer.merge/)
Mergethecontentsoftwoarraystogetherintothefirstarray.
Core(//api.jquery.com/category/core/) | Miscellaneous(//api.jquery.com/category/miscellaneous/)>SetupMethods
(//api.jquery.com/category/miscellaneous/setupmethods/)
jQuer.noConflict()(//api.jquer.com/jQuer.noConflict/)
RelinquishjQueryscontrolofthe$variable.
Utilities(//api.jquery.com/category/utilities/)
jQuer.noop()(//api.jquer.com/jQuer.noop/)
Anemptyfunction.
Utilities(//api.jquery.com/category/utilities/)
jQuer.now()(//api.jquer.com/jQuer.now/)
Returnanumberrepresentingthecurrenttime.
Miscellaneous(//api.jquery.com/category/miscellaneous/)>CollectionManipulation
(//api.jquery.com/category/miscellaneous/collectionmanipulation/) | Forms(//api.jquery.com/category/forms/) | Ajax
(//api.jquery.com/category/ajax/)>HelperFunctions(//api.jquery.com/category/ajax/helperfunctions/)
jQuer.param()(//api.jquer.com/jQuer.param/)
Createaserializedrepresentationofanarray,aplainobject,orajQueryobjectsuitableforuseinaURL
querystringorAjaxrequest.IncaseajQueryobjectispassed,itshouldcontaininputelementswith
name/valueproperties.
Utilities(//api.jquery.com/category/utilities/)
jQuer.pareHTML()
(//api.jquer.com/jQuer.pareHTML/)
ParsesastringintoanarrayofDOMnodes.
Utilities(//api.jquery.com/category/utilities/)
jQuer.pareJON()
(//api.jquer.com/jQuer.pareJON/)
TakesawellformedJSONstringandreturnstheresultingJavaScriptvalue.
Utilities(//api.jquery.com/category/utilities/)
jQuer.pareXML()
(//api.jquer.com/jQuer.pareXML/)
ParsesastringintoanXMLdocument.
Ajax(//api.jquery.com/category/ajax/)>ShorthandMethods(//api.jquery.com/category/ajax/shorthandmethods/)
jQuer.pot()(//api.jquer.com/jQuer.pot/)
LoaddatafromtheserverusingaHTTPPOSTrequest.
Events(//api.jquery.com/category/events/)>EventHandlerAttachment(//api.jquery.com/category/events/eventhandler
attachment/) | Utilities(//api.jquery.com/category/utilities/)
jQuer.prox()(//api.jquer.com/jQuer.prox/)
Takesafunctionandreturnsanewonethatwillalwayshaveaparticularcontext.
Data(//api.jquery.com/category/data/) | Utilities(//api.jquery.com/category/utilities/)
jQuer.queue()
(//api.jquer.com/jQuer.queue/)
Showormanipulatethequeueoffunctionstobeexecutedonthematchedelement.
Core(//api.jquery.com/category/core/)
jQuer.readxception()
(//api.jquer.com/jQuer.readxception/)
HandleserrorsthrownsynchronouslyinfunctionswrappedinjQuery().
Data(//api.jquery.com/category/data/) | Utilities(//api.jquery.com/category/utilities/)
jQuer.removeData()
(//api.jquer.com/jQuer.removeData/)
Removeapreviouslystoredpieceofdata.
Effects(//api.jquery.com/category/effects/)>Custom(//api.jquery.com/category/effects/customeffects/)
jQuer.peed
(//api.jquer.com/jQuer.peed/)
Createsanobjectcontainingasetofpropertiesreadytobeusedinthedefinitionofcustomanimations.
Core(//api.jquery.com/category/core/) | Deprecated(//api.jquery.com/category/deprecated/)>Deprecated1.7
(//api.jquery.com/category/deprecated/deprecated1.7/) | Removed(//api.jquery.com/category/removed/)
jQuer.u()(//api.jquer.com/jQuer.u/)
CreatesanewcopyofjQuerywhosepropertiesandmethodscanbemodifiedwithoutaffectingtheoriginal
jQueryobject.
Deprecated(//api.jquery.com/category/deprecated/)>Deprecated1.9(//api.jquery.com/category/deprecated/deprecated1.9/) |
Properties(//api.jquery.com/category/properties/)>PropertiesoftheGlobaljQueryObject
(//api.jquery.com/category/properties/globaljqueryobjectproperties/) | Utilities(//api.jquery.com/category/utilities/)
jQuer.upport(//api.jquer.com/jQuer.upport/)
Acollectionofpropertiesthatrepresentthepresenceofdifferentbrowserfeaturesorbugs.Intendedfor
jQuerysinternalusespecificpropertiesmayberemovedwhentheyarenolongerneededinternallyto
improvepagestartupperformance.Foryourownprojectsfeaturedetectionneeds,westrongly
recommendtheuseofanexternallibrarysuchasModernizrinsteadofdependencyonpropertiesin
jQuery.support.
Utilities(//api.jquery.com/category/utilities/)
jQuer.trim()(//api.jquer.com/jQuer.trim/)
Removethewhitespacefromthebeginningandendofastring.
Utilities(//api.jquery.com/category/utilities/)
jQuer.tpe()(//api.jquer.com/jQuer.tpe/)
DeterminetheinternalJavaScript[[Class]]ofanobject.
Utilities(//api.jquery.com/category/utilities/)
jQuer.unique()(//api.jquer.com/jQuer.unique/)
SortsanarrayofDOMelements,inplace,withtheduplicatesremoved.Notethatthisonlyworkson
arraysofDOMelements,notstringsornumbers.
Utilities(//api.jquery.com/category/utilities/)
jQuer.uniqueort()
(//api.jquer.com/jQuer.uniqueort/)
SortsanarrayofDOMelements,inplace,withtheduplicatesremoved.Notethatthisonlyworkson
arraysofDOMelements,notstringsornumbers.
Core(//api.jquery.com/category/core/) | DeferredObject(//api.jquery.com/category/deferredobject/)
jQuer.when()
(//api.jquer.com/jQuer.when/)
Providesawaytoexecutecallbackfunctionsbasedonzeroormoreobjects,usuallyDeferredobjectsthat
representasynchronousevents.
Events(//api.jquery.com/category/events/)>KeyboardEvents(//api.jquery.com/category/events/keyboardevents/)
.kedown()(//api.jquer.com/kedown/)
BindaneventhandlertothekeydownJavaScriptevent,ortriggerthateventonanelement.
Events(//api.jquery.com/category/events/)>KeyboardEvents(//api.jquery.com/category/events/keyboardevents/)
.kepre()(//api.jquer.com/kepre/)
BindaneventhandlertothekeypressJavaScriptevent,ortriggerthateventonanelement.
.keup() Events(//api.jquery.com/category/events/)>KeyboardEvents(//api.jquery.com/category/events/keyboardevents/)
(//api.jquer.com/keup/)
BindaneventhandlertothekeyupJavaScriptevent,ortriggerthateventonanelement.
Selectors(//api.jquery.com/category/selectors/)>BasicFilter(//api.jquery.com/category/selectors/basicfilterselectors/)
:lang()elector(//api.jquer.com/langelector/)
Selectsallelementsofthespecifiedlanguage.
Traversing(//api.jquery.com/category/traversing/)>Filtering(//api.jquery.com/category/traversing/filtering/)
.lat()
(//api.jquer.com/lat/)
Reducethesetofmatchedelementstothefinaloneintheset.
Selectors(//api.jquery.com/category/selectors/)>ChildFilter(//api.jquery.com/category/selectors/childfilterselectors/)
:lat
childelector(//api.jquer.com/latchildelector/)
Selectsallelementsthatarethelastchildoftheirparent.
Selectors(//api.jquery.com/category/selectors/)>ChildFilter(//api.jquery.com/category/selectors/childfilterselectors/)
:lat
oftpeelector(//api.jquer.com/latoftpeelector/)
Selectsallelementsthatarethelastamongsiblingsofthesameelementname.
Selectors(//api.jquery.com/category/selectors/)>BasicFilter(//api.jquery.com/category/selectors/basicfilterselectors/) |
Selectors(//api.jquery.com/category/selectors/)>jQueryExtensions(//api.jquery.com/category/selectors/jqueryselector
extensions/)
:latelector(//api.jquer.com/latelector/)
Selectsthelastmatchedelement.
Properties(//api.jquery.com/category/properties/)>PropertiesofjQueryObjectInstances
(//api.jquery.com/category/properties/jqueryobjectinstanceproperties/)
.length(//api.jquer.com/length/)
ThenumberofelementsinthejQueryobject.
Deprecated(//api.jquery.com/category/deprecated/)>Deprecated1.7(//api.jquery.com/category/deprecated/deprecated1.7/) |
Events(//api.jquery.com/category/events/)>EventHandlerAttachment(//api.jquery.com/category/events/eventhandler
attachment/) | Removed(//api.jquery.com/category/removed/)
.live()(//api.jquer.com/live/)
Attachaneventhandlerforallelementswhichmatchthecurrentselector,nowandinthefuture.
Ajax(//api.jquery.com/category/ajax/)>ShorthandMethods(//api.jquery.com/category/ajax/shorthandmethods/)
.load()
(//api.jquer.com/load/)
LoaddatafromtheserverandplacethereturnedHTMLintothematchedelement.
Deprecated(//api.jquery.com/category/deprecated/)>Deprecated1.8(//api.jquery.com/category/deprecated/deprecated1.8/) |
Events(//api.jquery.com/category/events/)>DocumentLoading(//api.jquery.com/category/events/documentloading/) |
Removed(//api.jquery.com/category/removed/)
.load()(//api.jquer.com/loadevent/)
BindaneventhandlertotheloadJavaScriptevent.
Selectors(//api.jquery.com/category/selectors/)>BasicFilter(//api.jquery.com/category/selectors/basicfilterselectors/) |
Selectors(//api.jquery.com/category/selectors/)>jQueryExtensions(//api.jquery.com/category/selectors/jqueryselector
extensions/)
:lt()elector(//api.jquer.com/ltelector/)
Selectallelementsatanindexlessthanindexwithinthematchedset.
Traversing(//api.jquery.com/category/traversing/)>Filtering(//api.jquery.com/category/traversing/filtering/)
.map()
(//api.jquer.com/map/)
Passeachelementinthecurrentmatchedsetthroughafunction,producinganewjQueryobject
containingthereturnvalues.
Events(//api.jquery.com/category/events/)>MouseEvents(//api.jquery.com/category/events/mouseevents/)
.mouedown()(//api.jquer.com/mouedown/)
BindaneventhandlertothemousedownJavaScriptevent,ortriggerthateventonanelement.
Events(//api.jquery.com/category/events/)>MouseEvents(//api.jquery.com/category/events/mouseevents/)
.moueenter()(//api.jquer.com/moueenter/)
Bindaneventhandlertobefiredwhenthemouseentersanelement,ortriggerthathandleronanelement.
Events(//api.jquery.com/category/events/)>MouseEvents(//api.jquery.com/category/events/mouseevents/)
.moueleave()(//api.jquer.com/moueleave/)
Bindaneventhandlertobefiredwhenthemouseleavesanelement,ortriggerthathandleronanelement.
Events(//api.jquery.com/category/events/)>MouseEvents(//api.jquery.com/category/events/mouseevents/)
.mouemove()(//api.jquer.com/mouemove/)
BindaneventhandlertothemousemoveJavaScriptevent,ortriggerthateventonanelement.
Events(//api.jquery.com/category/events/)>MouseEvents(//api.jquery.com/category/events/mouseevents/)
.moueout()(//api.jquer.com/moueout/)
BindaneventhandlertothemouseoutJavaScriptevent,ortriggerthateventonanelement.
Events(//api.jquery.com/category/events/)>MouseEvents(//api.jquery.com/category/events/mouseevents/)
.moueover()(//api.jquer.com/moueover/)
BindaneventhandlertothemouseoverJavaScriptevent,ortriggerthateventonanelement.
Events(//api.jquery.com/category/events/)>MouseEvents(//api.jquery.com/category/events/mouseevents/)
.moueup()
(//api.jquer.com/moueup/)
BindaneventhandlertothemouseupJavaScriptevent,ortriggerthateventonanelement.
Selectors(//api.jquery.com/category/selectors/)>Attribute(//api.jquery.com/category/selectors/attributeselectors/)
Multiple
Attriuteelector[name=value][name2=value2](//api.jquer.com/multiple
attriuteelector/)
Matcheselementsthatmatchallofthespecifiedattributefilters.
Selectors(//api.jquery.com/category/selectors/)>Basic(//api.jquery.com/category/selectors/basiccssselectors/)
Multiple
elector(elector1,elector2,electorN)(//api.jquer.com/multipleelector/)
Selectsthecombinedresultsofallthespecifiedselectors.
Traversing(//api.jquery.com/category/traversing/)>TreeTraversal(//api.jquery.com/category/traversing/treetraversal/)
.next()(//api.jquer.com/next/)
Gettheimmediatelyfollowingsiblingofeachelementinthesetofmatchedelements.Ifaselectoris
provided,itretrievesthenextsiblingonlyifitmatchesthatselector.
Selectors(//api.jquery.com/category/selectors/)>Hierarchy(//api.jquery.com/category/selectors/hierarchyselectors/)
Next
Adjacentelector(prev+next)(//api.jquer.com/nextadjacentelector/)
Selectsallnextelementsmatchingnextthatareimmediatelyprecededbyasiblingprev.
Selectors(//api.jquery.com/category/selectors/)>Hierarchy(//api.jquery.com/category/selectors/hierarchyselectors/)
Next
ilingelector(prev~iling)(//api.jquer.com/nextilingelector/)
Selectsallsiblingelementsthatfollowaftertheprevelement,havethesameparent,andmatchthe
filteringsiblingsselector.
Traversing(//api.jquery.com/category/traversing/)>TreeTraversal(//api.jquery.com/category/traversing/treetraversal/)
.nextAll()(//api.jquer.com/nextAll/)
Getallfollowingsiblingsofeachelementinthesetofmatchedelements,optionallyfilteredbyaselector.
Traversing(//api.jquery.com/category/traversing/)>TreeTraversal(//api.jquery.com/category/traversing/treetraversal/)
.nextUntil()(//api.jquer.com/nextUntil/)
Getallfollowingsiblingsofeachelementuptobutnotincludingtheelementmatchedbytheselector,DOM
node,orjQueryobjectpassed.
Traversing(//api.jquery.com/category/traversing/)>Filtering(//api.jquery.com/category/traversing/filtering/) | Traversing
(//api.jquery.com/category/traversing/)>MiscellaneousTraversing(//api.jquery.com/category/traversing/miscellaneous
traversal/)
.not()(//api.jquer.com/not/)
Removeelementsfromthesetofmatchedelements.
Selectors(//api.jquery.com/category/selectors/)>BasicFilter(//api.jquery.com/category/selectors/basicfilterselectors/)
:not()elector(//api.jquer.com/notelector/)
Selectsallelementsthatdonotmatchthegivenselector.
Selectors(//api.jquery.com/category/selectors/)>ChildFilter(//api.jquery.com/category/selectors/childfilterselectors/)
:nth
child()elector(//api.jquer.com/nthchildelector/)
Selectsallelementsthatarethenthchildoftheirparent.
Selectors(//api.jquery.com/category/selectors/)>ChildFilter(//api.jquery.com/category/selectors/childfilterselectors/)
:nth
latchild()elector(//api.jquer.com/nthlatchildelector/)
Selectsallelementsthatarethenthchildoftheirparent,countingfromthelastelementtothefirst.
Selectors(//api.jquery.com/category/selectors/)>ChildFilter(//api.jquery.com/category/selectors/childfilterselectors/)
:nth
latoftpe()elector(//api.jquer.com/nthlatoftpeelector/)
Selectsalltheelementsthatarethenthchildoftheirparentinrelationtosiblingswiththesameelement
name,countingfromthelastelementtothefirst.
Selectors(//api.jquery.com/category/selectors/)>ChildFilter(//api.jquery.com/category/selectors/childfilterselectors/)
:nth
oftpe()elector(//api.jquer.com/nthoftpeelector/)
Selectsallelementsthatarethenthchildoftheirparentinrelationtosiblingswiththesameelementname.
Selectors(//api.jquery.com/category/selectors/)>BasicFilter(//api.jquery.com/category/selectors/basicfilterselectors/) |
Selectors(//api.jquery.com/category/selectors/)>jQueryExtensions(//api.jquery.com/category/selectors/jqueryselector
extensions/)
:oddelector(//api.jquer.com/oddelector/)
Selectsoddelements,zeroindexed.Seealsoeven.
Events(//api.jquery.com/category/events/)>EventHandlerAttachment(//api.jquery.com/category/events/eventhandler
attachment/)
.off()(//api.jquer.com/off/)
Removeaneventhandler.
.offet()(//api.jquer.com/offet/)
Getthecurrentcoordinatesofthefirstelement,orsetthecoordinatesofeveryelement,inthesetof
matchedelements,relativetothedocument.
Offset(//api.jquery.com/category/offset/) | Traversing(//api.jquery.com/category/traversing/)>TreeTraversal
(//api.jquery.com/category/traversing/treetraversal/)
.offetParent()(//api.jquer.com/offetParent/)
Gettheclosestancestorelementthatispositioned.
Events(//api.jquery.com/category/events/)>EventHandlerAttachment(//api.jquery.com/category/events/eventhandler
attachment/)
.on()(//api.jquer.com/on/)
Attachaneventhandlerfunctionforoneormoreeventstotheselectedelements.
Events(//api.jquery.com/category/events/)>EventHandlerAttachment(//api.jquery.com/category/events/eventhandler
attachment/)
.one()(//api.jquer.com/one/)
Attachahandlertoaneventfortheelements.Thehandlerisexecutedatmostonceperelementperevent
type.
:onl Selectors(//api.jquery.com/category/selectors/)>ChildFilter(//api.jquery.com/category/selectors/childfilterselectors/)
childelector(//api.jquer.com/onlchildelector/)
Selectsallelementsthataretheonlychildoftheirparent.
:onl Selectors(//api.jquery.com/category/selectors/)>ChildFilter(//api.jquery.com/category/selectors/childfilterselectors/)
oftpeelector(//api.jquer.com/onloftpeelector/)
Selectsallelementsthathavenosiblingswiththesameelementname.
.outerHeight()(//api.jquer.com/outerHeight/)
Getthecurrentcomputedouterheight(includingpadding,border,andoptionallymargin)forthefirst
elementinthesetofmatchedelementsorsettheouterheightofeverymatchedelement.
.outerWidth()(//api.jquer.com/outerWidth/)
Getthecurrentcomputedouterwidth(includingpadding,border,andoptionallymargin)forthefirstelement
inthesetofmatchedelementsorsettheouterwidthofeverymatchedelement.
Traversing(//api.jquery.com/category/traversing/)>TreeTraversal(//api.jquery.com/category/traversing/treetraversal/)
.parent()(//api.jquer.com/parent/)
Gettheparentofeachelementinthecurrentsetofmatchedelements,optionallyfilteredbyaselector.
Selectors(//api.jquery.com/category/selectors/)>ContentFilter(//api.jquery.com/category/selectors/contentfilterselector/) |
Selectors(//api.jquery.com/category/selectors/)>jQueryExtensions(//api.jquery.com/category/selectors/jqueryselector
extensions/)
:parentelector(//api.jquer.com/parentelector/)
Selectallelementsthathaveatleastonechildnode(eitheranelementortext).
Traversing(//api.jquery.com/category/traversing/)>TreeTraversal(//api.jquery.com/category/traversing/treetraversal/)
.parent()(//api.jquer.com/parent/)
Gettheancestorsofeachelementinthecurrentsetofmatchedelements,optionallyfilteredbyaselector.
Traversing(//api.jquery.com/category/traversing/)>TreeTraversal(//api.jquery.com/category/traversing/treetraversal/)
.parentUntil()(//api.jquer.com/parentUntil/)
Gettheancestorsofeachelementinthecurrentsetofmatchedelements,uptobutnotincludingthe
elementmatchedbytheselector,DOMnode,orjQueryobject.
Selectors(//api.jquery.com/category/selectors/)>Form(//api.jquery.com/category/selectors/formselectors/) | Selectors
(//api.jquery.com/category/selectors/)>jQueryExtensions(//api.jquery.com/category/selectors/jqueryselectorextensions/)
:pawordelector(//api.jquer.com/pawordelector/)
Selectsallelementsoftypepassword.
.poition()(//api.jquer.com/poition/)
Getthecurrentcoordinatesofthefirstelementinthesetofmatchedelements,relativetotheoffsetparent.
Manipulation(//api.jquery.com/category/manipulation/)>DOMInsertion,Inside(//api.jquery.com/category/manipulation/dom
insertioninside/)
.prepend()(//api.jquer.com/prepend/)
Insertcontent,specifiedbytheparameter,tothebeginningofeachelementinthesetofmatched
elements.
Manipulation(//api.jquery.com/category/manipulation/)>DOMInsertion,Inside(//api.jquery.com/category/manipulation/dom
insertioninside/)
.prependTo()(//api.jquer.com/prependTo/)
Inserteveryelementinthesetofmatchedelementstothebeginningofthetarget.
Traversing(//api.jquery.com/category/traversing/)>TreeTraversal(//api.jquery.com/category/traversing/treetraversal/)
.prev()(//api.jquer.com/prev/)
Gettheimmediatelyprecedingsiblingofeachelementinthesetofmatchedelements.Ifaselectoris
provided,itretrievestheprevioussiblingonlyifitmatchesthatselector.
Traversing(//api.jquery.com/category/traversing/)>TreeTraversal(//api.jquery.com/category/traversing/treetraversal/)
.prevAll()(//api.jquer.com/prevAll/)
Getallprecedingsiblingsofeachelementinthesetofmatchedelements,optionallyfilteredbyaselector.
Traversing(//api.jquery.com/category/traversing/)>TreeTraversal(//api.jquery.com/category/traversing/treetraversal/)
.prevUntil()(//api.jquer.com/prevUntil/)
Getallprecedingsiblingsofeachelementuptobutnotincludingtheelementmatchedbytheselector,
DOMnode,orjQueryobject.
DeferredObject(//api.jquery.com/category/deferredobject/)
.promie()(//api.jquer.com/promie/)
ReturnaPromiseobjecttoobservewhenallactionsofacertaintypeboundtothecollection,queuedor
not,havefinished.
Attributes(//api.jquery.com/category/attributes/) | Manipulation(//api.jquery.com/category/manipulation/)>GeneralAttributes
(//api.jquery.com/category/manipulation/generalattributes/)
.prop()(//api.jquer.com/prop/)
Getthevalueofapropertyforthefirstelementinthesetofmatchedelementsorsetoneormore
propertiesforeverymatchedelement.
Internals(//api.jquery.com/category/internals/)
.puhtack()(//api.jquer.com/puhtack/)
AddacollectionofDOMelementsontothejQuerystack.
Effects(//api.jquery.com/category/effects/)>Custom(//api.jquery.com/category/effects/customeffects/) | Data
(//api.jquery.com/category/data/) | Utilities(//api.jquery.com/category/utilities/)
.queue()(//api.jquer.com/queue/)
Showormanipulatethequeueoffunctionstobeexecutedonthematchedelements.
Selectors(//api.jquery.com/category/selectors/)>Form(//api.jquery.com/category/selectors/formselectors/) | Selectors
(//api.jquery.com/category/selectors/)>jQueryExtensions(//api.jquery.com/category/selectors/jqueryselectorextensions/)
:radioelector(//api.jquer.com/radioelector/)
Selectsallelementsoftyperadio.
Events(//api.jquery.com/category/events/)>DocumentLoading(//api.jquery.com/category/events/documentloading/)
.read()(//api.jquer.com/read/)
SpecifyafunctiontoexecutewhentheDOMisfullyloaded.
Manipulation(//api.jquery.com/category/manipulation/)>DOMRemoval(//api.jquery.com/category/manipulation/dom
removal/)
.remove()(//api.jquer.com/remove/)
RemovethesetofmatchedelementsfromtheDOM.
Attributes(//api.jquery.com/category/attributes/) | Manipulation(//api.jquery.com/category/manipulation/)>GeneralAttributes
(//api.jquery.com/category/manipulation/generalattributes/)
.removeAttr()(//api.jquer.com/removeAttr/)
Removeanattributefromeachelementinthesetofmatchedelements.
Attributes(//api.jquery.com/category/attributes/) | Manipulation(//api.jquery.com/category/manipulation/)>ClassAttribute
(//api.jquery.com/category/manipulation/classattribute/) | CSS(//api.jquery.com/category/css/)
.removeCla()(//api.jquer.com/removeCla/)
Removeasingleclass,multipleclasses,orallclassesfromeachelementinthesetofmatchedelements.
Data(//api.jquery.com/category/data/) | Miscellaneous(//api.jquery.com/category/miscellaneous/)>DataStorage
(//api.jquery.com/category/miscellaneous/datastorage/)
.removeData()(//api.jquer.com/removeData/)
Removeapreviouslystoredpieceofdata.
Attributes(//api.jquery.com/category/attributes/) | Manipulation(//api.jquery.com/category/manipulation/)>GeneralAttributes
(//api.jquery.com/category/manipulation/generalattributes/)
.removeProp()(//api.jquer.com/removeProp/)
Removeapropertyforthesetofmatchedelements.
Manipulation(//api.jquery.com/category/manipulation/)>DOMReplacement(//api.jquery.com/category/manipulation/dom
replacement/)
.replaceAll()(//api.jquer.com/replaceAll/)
Replaceeachtargetelementwiththesetofmatchedelements.
Manipulation(//api.jquery.com/category/manipulation/)>DOMReplacement(//api.jquery.com/category/manipulation/dom
replacement/)
.replaceWith()(//api.jquer.com/replaceWith/)
Replaceeachelementinthesetofmatchedelementswiththeprovidednewcontentandreturnthesetof
elementsthatwasremoved.
Selectors(//api.jquery.com/category/selectors/)>Form(//api.jquery.com/category/selectors/formselectors/) | Selectors
(//api.jquery.com/category/selectors/)>jQueryExtensions(//api.jquery.com/category/selectors/jqueryselectorextensions/)
:reetelector(//api.jquer.com/reetelector/)
Selectsallelementsoftypereset.
Events(//api.jquery.com/category/events/)>BrowserEvents(//api.jquery.com/category/events/browserevents/)
.reize()
(//api.jquer.com/reize/)
BindaneventhandlertotheresizeJavaScriptevent,ortriggerthateventonanelement.
Selectors(//api.jquery.com/category/selectors/)>BasicFilter(//api.jquery.com/category/selectors/basicfilterselectors/)
:root
elector(//api.jquer.com/rootelector/)
Selectstheelementthatistherootofthedocument.
Events(//api.jquery.com/category/events/)>BrowserEvents(//api.jquery.com/category/events/browserevents/)
.croll()
(//api.jquer.com/croll/)
BindaneventhandlertothescrollJavaScriptevent,ortriggerthateventonanelement.
CSS(//api.jquery.com/category/css/) | Offset(//api.jquery.com/category/offset/) | Manipulation
(//api.jquery.com/category/manipulation/)>StyleProperties(//api.jquery.com/category/manipulation/styleproperties/)
.crollLeft()(//api.jquer.com/crollLeft/)
Getthecurrenthorizontalpositionofthescrollbarforthefirstelementinthesetofmatchedelementsor
setthehorizontalpositionofthescrollbarforeverymatchedelement.
.crollTop()(//api.jquer.com/crollTop/)
Getthecurrentverticalpositionofthescrollbarforthefirstelementinthesetofmatchedelementsorset
theverticalpositionofthescrollbarforeverymatchedelement.
Events(//api.jquery.com/category/events/)>FormEvents(//api.jquery.com/category/events/formevents/) | Forms
(//api.jquery.com/category/forms/)
.elect()(//api.jquer.com/elect/)
BindaneventhandlertotheselectJavaScriptevent,ortriggerthateventonanelement.
Selectors(//api.jquery.com/category/selectors/)>Form(//api.jquery.com/category/selectors/formselectors/) | Selectors
(//api.jquery.com/category/selectors/)>jQueryExtensions(//api.jquery.com/category/selectors/jqueryselectorextensions/)
:electedelector(//api.jquer.com/electedelector/)
Selectsallelementsthatareselected.
Deprecated(//api.jquery.com/category/deprecated/)>Deprecated1.7(//api.jquery.com/category/deprecated/deprecated1.7/) |
Internals(//api.jquery.com/category/internals/) | Properties(//api.jquery.com/category/properties/)>PropertiesoftheGlobal
jQueryObject(//api.jquery.com/category/properties/globaljqueryobjectproperties/) | Removed
(//api.jquery.com/category/removed/)
.elector(//api.jquer.com/elector/)
AselectorrepresentingselectorpassedtojQuery(),ifany,whencreatingtheoriginalset.
Forms(//api.jquery.com/category/forms/) | Ajax(//api.jquery.com/category/ajax/)>HelperFunctions
(//api.jquery.com/category/ajax/helperfunctions/)
.erialize()(//api.jquer.com/erialize/)
Encodeasetofformelementsasastringforsubmission.
Forms(//api.jquery.com/category/forms/) | Ajax(//api.jquery.com/category/ajax/)>HelperFunctions
(//api.jquery.com/category/ajax/helperfunctions/)
.erializeArra()(//api.jquer.com/erializeArra/)
Encodeasetofformelementsasanarrayofnamesandvalues.
Effects(//api.jquery.com/category/effects/)>Basics(//api.jquery.com/category/effects/basics/)
.how()
(//api.jquer.com/how/)
Displaythematchedelements.
Traversing(//api.jquery.com/category/traversing/)>TreeTraversal(//api.jquery.com/category/traversing/treetraversal/)
.iling()(//api.jquer.com/iling/)
Getthesiblingsofeachelementinthesetofmatchedelements,optionallyfilteredbyaselector.
Deprecated(//api.jquery.com/category/deprecated/)>Deprecated1.8(//api.jquery.com/category/deprecated/deprecated1.8/) |
Miscellaneous(//api.jquery.com/category/miscellaneous/)>DOMElementMethods
(//api.jquery.com/category/miscellaneous/domelementmethods/) | Removed(//api.jquery.com/category/removed/)
.ize()(//api.jquer.com/ize/)
ReturnthenumberofelementsinthejQueryobject.
Traversing(//api.jquery.com/category/traversing/)>Filtering(//api.jquery.com/category/traversing/filtering/)
.lice()
(//api.jquer.com/lice/)
Reducethesetofmatchedelementstoasubsetspecifiedbyarangeofindices.
Effects(//api.jquery.com/category/effects/)>Sliding(//api.jquery.com/category/effects/sliding/)
.lideDown()
(//api.jquer.com/lideDown/)
Displaythematchedelementswithaslidingmotion.
Effects(//api.jquery.com/category/effects/)>Sliding(//api.jquery.com/category/effects/sliding/)
.lideToggle()
(//api.jquer.com/lideToggle/)
Displayorhidethematchedelementswithaslidingmotion.
Effects(//api.jquery.com/category/effects/)>Sliding(//api.jquery.com/category/effects/sliding/)
.lideUp()
(//api.jquer.com/lideUp/)
Hidethematchedelementswithaslidingmotion.
Effects(//api.jquery.com/category/effects/)>Custom(//api.jquery.com/category/effects/customeffects/)
.top()
(//api.jquer.com/top/)
Stopthecurrentlyrunninganimationonthematchedelements.
Events(//api.jquery.com/category/events/)>FormEvents(//api.jquery.com/category/events/formevents/) | Forms
(//api.jquery.com/category/forms/)
.umit()(//api.jquer.com/umit/)
BindaneventhandlertothesubmitJavaScriptevent,ortriggerthateventonanelement.
Selectors(//api.jquery.com/category/selectors/)>Form(//api.jquery.com/category/selectors/formselectors/) | Selectors
(//api.jquery.com/category/selectors/)>jQueryExtensions(//api.jquery.com/category/selectors/jqueryselectorextensions/)
:umitelector(//api.jquer.com/umitelector/)
Selectsallelementsoftypesubmit.
Selectors(//api.jquery.com/category/selectors/)>BasicFilter(//api.jquery.com/category/selectors/basicfilterselectors/)
:targetelector(//api.jquer.com/targetelector/)
SelectsthetargetelementindicatedbythefragmentidentifierofthedocumentsURI.
Manipulation(//api.jquery.com/category/manipulation/)>DOMInsertion,Inside(//api.jquery.com/category/manipulation/dom
insertioninside/)
.text()(//api.jquer.com/text/)
Getthecombinedtextcontentsofeachelementinthesetofmatchedelements,includingtheir
descendants,orsetthetextcontentsofthematchedelements.
Selectors(//api.jquery.com/category/selectors/)>Form(//api.jquery.com/category/selectors/formselectors/) | Selectors
(//api.jquery.com/category/selectors/)>jQueryExtensions(//api.jquery.com/category/selectors/jqueryselectorextensions/)
:textelector(//api.jquer.com/textelector/)
Selectsallinputelementsoftypetext.
Miscellaneous(//api.jquery.com/category/miscellaneous/)>DOMElementMethods
(//api.jquery.com/category/miscellaneous/domelementmethods/)
.toArra()(//api.jquer.com/toArra/)
RetrievealltheelementscontainedinthejQueryset,asanarray.
Effects(//api.jquery.com/category/effects/)>Basics(//api.jquery.com/category/effects/basics/)
.toggle()
(//api.jquer.com/toggle/)
Displayorhidethematchedelements.
Deprecated(//api.jquery.com/category/deprecated/)>Deprecated1.8(//api.jquery.com/category/deprecated/deprecated1.8/) |
Events(//api.jquery.com/category/events/)>MouseEvents(//api.jquery.com/category/events/mouseevents/) | Removed
(//api.jquery.com/category/removed/)
.toggle()(//api.jquer.com/toggleevent/)
Bindtwoormorehandlerstothematchedelements,tobeexecutedonalternateclicks.
Attributes(//api.jquery.com/category/attributes/) | Manipulation(//api.jquery.com/category/manipulation/)>ClassAttribute
(//api.jquery.com/category/manipulation/classattribute/) | CSS(//api.jquery.com/category/css/)
.toggleCla()(//api.jquer.com/toggleCla/)
Addorremoveoneormoreclassesfromeachelementinthesetofmatchedelements,dependingon
eithertheclassspresenceorthevalueofthestateargument.
Events(//api.jquery.com/category/events/)>EventHandlerAttachment(//api.jquery.com/category/events/eventhandler
attachment/)
.trigger()(//api.jquer.com/trigger/)
Executeallhandlersandbehaviorsattachedtothematchedelementsforthegiveneventtype.
Events(//api.jquery.com/category/events/)>EventHandlerAttachment(//api.jquery.com/category/events/eventhandler
attachment/)
.triggerHandler()(//api.jquer.com/triggerHandler/)
Executeallhandlersattachedtoanelementforanevent.
Deprecated(//api.jquery.com/category/deprecated/)>Deprecated3.0(//api.jquery.com/category/deprecated/deprecated3.0/) |
Events(//api.jquery.com/category/events/)>EventHandlerAttachment(//api.jquery.com/category/events/eventhandler
attachment/)
.unind()(//api.jquer.com/unind/)
Removeapreviouslyattachedeventhandlerfromtheelements.
Deprecated(//api.jquery.com/category/deprecated/)>Deprecated3.0(//api.jquery.com/category/deprecated/deprecated3.0/) |
Events(//api.jquery.com/category/events/)>EventHandlerAttachment(//api.jquery.com/category/events/eventhandler
attachment/)
.undelegate()(//api.jquer.com/undelegate/)
Removeahandlerfromtheeventforallelementswhichmatchthecurrentselector,baseduponaspecific
setofrootelements.
Deprecated(//api.jquery.com/category/deprecated/)>Deprecated1.8(//api.jquery.com/category/deprecated/deprecated1.8/) |
Events(//api.jquery.com/category/events/)>DocumentLoading(//api.jquery.com/category/events/documentloading/) |
Removed(//api.jquery.com/category/removed/)
.unload()(//api.jquer.com/unload/)
BindaneventhandlertotheunloadJavaScriptevent.
Manipulation(//api.jquery.com/category/manipulation/)>DOMInsertion,Around(//api.jquery.com/category/manipulation/dom
insertionaround/) | Manipulation(//api.jquery.com/category/manipulation/)>DOMRemoval
(//api.jquery.com/category/manipulation/domremoval/)
.unwrap()(//api.jquer.com/unwrap/)
RemovetheparentsofthesetofmatchedelementsfromtheDOM,leavingthematchedelementsintheir
place.
Selectors(//api.jquery.com/category/selectors/)>jQueryExtensions(//api.jquery.com/category/selectors/jqueryselector
extensions/) | Selectors(//api.jquery.com/category/selectors/)>VisibilityFilter(//api.jquery.com/category/selectors/visibility
filterselectors/)
:viileelector(//api.jquer.com/viileelector/)
Selectsallelementsthatarevisible.
.width()(//api.jquer.com/width/)
Getthecurrentcomputedwidthforthefirstelementinthesetofmatchedelementsorsetthewidthof
everymatchedelement.
Manipulation(//api.jquery.com/category/manipulation/)>DOMInsertion,Around(//api.jquery.com/category/manipulation/dom
insertionaround/)
.wrap()(//api.jquer.com/wrap/)
WrapanHTMLstructurearoundeachelementinthesetofmatchedelements.
Manipulation(//api.jquery.com/category/manipulation/)>DOMInsertion,Around(//api.jquery.com/category/manipulation/dom
insertionaround/)
.wrapAll()(//api.jquer.com/wrapAll/)
WrapanHTMLstructurearoundallelementsinthesetofmatchedelements.
.wrapInner()(//api.jquer.com/wrapInner/)
Manipulation(//api.jquery.com/category/manipulation/)>DOMInsertion,Around(//api.jquery.com/category/manipulation/dom
insertionaround/)
WrapanHTMLstructurearoundthecontentofeachelementinthesetofmatchedelements.
OOK
Copyright2017ThejQueryFoundation(https://jquery.org/team/).jQueryLicense
(https://jquery.org/license/)
LearningCenter (http://learn.jquery.com/) Forum (http://forum.jquery.com/)