Está en la página 1de 1

jQuery Quick API Reference

1.10 / 2.0

Search...

About...

Selectors

Attributes / CSS

Manipulation

Traversing

Events

Basics

Visibility Filters

Forms

Attributes

Copying

Filtering

Browser Events

*
.class
element
#id
selector1, selectorN,
...

:hidden
:visible

:button
:checkbox
:checked
:disabled
:enabled
:focus
:file
:image
:input
:password
:radio
:reset
:selected
:submit
:text

.attr()
.prop()
.removeAttr()
.removeProp()
.val()

.clone()

.eq()
.filter()
.first()
.has()
.is()
.last()
.map()
.not()
.slice()

.error()
.resize()
.scroll()

Hierarchy
parent > child
ancestor descendant
prev + next
prev ~ siblings

Basic Filters
:animated
:eq()
:even
:first
:gt()
:header
:lang()
:last
:lt()
:not()
:odd
:root
:target

Content Filters
:contains()
:empty
:has()
:parent

Attribute
[name|="value"]
[name*="value"]
[name~="value"]
[name$="value"]
[name="value"]
[name!="value"]
[name^="value"]
[name]
[name="value"]
[name2="value2"]

Child Filters
:first-child
:first-of-type
:last-child
:last-of-type
:nth-child()
:nth-last-child()
:nth-last-of-type()
:nth-of-type()
:only-child
:only-of-type()

CSS
.addClass()
.css()
jQuery.cssHooks
.hasClass()
.removeClass()
.toggleClass()

Dimensions

DOM Insertion, Around


.wrap()
.wrapAll()
.wrapInner()

DOM Insertion, Inside


.append()
.appendTo()
.html()
.prepend()
.prependTo()
.text()

.height()
.innerHeight()
.innerWidth()
.outerHeight()
.outerWidth()
.width()

DOM Insertion, Outside

Offset

.detach()
.empty()
.remove()
.unwrap()

.offset()
.offsetParent()
.position()
.scrollLeft()
.scrollTop()

Data
jQuery.data()
.data()
jQuery.hasData()
jQuery.removeData()
.removeData()

.after()
.before()
.insertAfter()
.insertBefore()

DOM Removal

DOM Replacement
.replaceAll()
.replaceWith()

Miscellaneous Traversing
.add()
.andSelf()
.contents()
.each()
.end()

Tree Traversal
.addBack()
.children()
.closest()
.find()
.next()
.nextAll()
.nextUntil()
.parent()
.parents()
.parentsUntil()
.prev()
.prevAll()
.prevUntil()
.siblings()

Effects
Mouse Events

.click()
.dblclick()
.focusin()
.focusout()
Document Loading
.hover()
.holdReady()
.mousedown()
.load()
.mouseenter()
.ready()
.mouseleave()
.unload()
.mousemove()
.mouseout()
Event Handler Attachment .mouseover()
.bind()
.mouseup()
.delegate()
.toggle()
.die()
.live()
Event Object
.off()
event.currentTarget
.on()
event.data
.one()
event.isDefaultPrevented()
.trigger()
event.isImmediatePropagationStopped()
.triggerHandler()
event.isPropagationStopped()
.unbind()
event.namespace
.undelegate()
event.pageX
event.pageY
Form Events
event.preventDefault()
.blur()
event.relatedTarget
.change()
event.result
.focus()
event.stopImmediatePropagation()
.select()
event.stopPropagation()
.submit()
event.target
event.timeStamp
Keyboard Events
event.type
.keydown()
event.which
.keypress()
.keyup()

Basics
.hide()
.show()
.toggle()

Custom

.animate()
.clearQueue()
.delay()
.dequeue()
jQuery.deque
.finish()
jQuery.fx.inte
jQuery.fx.off
.queue()
jQuery.queue
.stop()

Fading
.fadeIn()
.fadeOut()
.fadeTo()
.fadeToggle()

Sliding
.slideDown()
.slideToggle()
.slideUp()

También podría gustarte