jQuery 中文文档 XSLT/CSS/JS Written by
Shawphy
Translated by
为之漫笔
,
Shawphy
and
Cloudream
.
下载CHM离线版
Ajax
全局Ajax事件
ajaxComplete()
ajaxError()
ajaxSend()
ajaxStart()
ajaxStop()
ajaxSuccess()
辅助函数
jQuery.param()
serialize()
serializeArray()
底层接口
jQuery.ajax()
jQuery.ajaxSetup()
快捷方法
jQuery.get()
jQuery.getJSON()
jQuery.getScript()
jQuery.post()
load()
属性
addClass()
attr()
hasClass()
html()
removeAttr()
removeClass()
toggleClass()
val()
核心
jQuery()
jQuery.noConflict()
CSS
addClass()
css()
hasClass()
height()
innerHeight()
innerWidth()
offset()
outerHeight()
outerWidth()
position()
removeClass()
scrollLeft()
scrollTop()
toggleClass()
width()
数据
clearQueue()
data()
dequeue()
jQuery.data()
jQuery.dequeue()
jQuery.queue()
jQuery.removeData()
queue()
removeData()
尺寸
height()
innerHeight()
innerWidth()
outerHeight()
outerWidth()
width()
动画
基本
hide()
show()
toggle()
自定义
animate()
clearQueue()
delay()
dequeue()
jQuery.fx.interval
jQuery.fx.off
queue()
stop()
渐变
fadeIn()
fadeOut()
fadeTo()
fadeToggle()
滑动
slideDown()
slideToggle()
slideUp()
事件
浏览器事件
error()
resize()
scroll()
文档加载
load()
ready()
unload()
事件处理
bind()
delegate()
die()
jQuery.proxy()
live()
one()
trigger()
triggerHandler()
unbind()
undelegate()
事件对象
event.currentTarget
event.data
event.isDefaultPrevented()
event.isImmediatePropagationStopped()
event.isPropagationStopped()
event.namespace
event.pageX
event.pageY
event.preventDefault()
event.relatedTarget
event.result
event.stopImmediatePropagation()
event.stopPropagation()
event.target
event.timeStamp
event.type
event.which
表单事件
blur()
change()
focus()
select()
submit()
键盘事件
focusin()
focusout()
keydown()
keypress()
keyup()
鼠标事件
click()
dblclick()
focusin()
focusout()
hover()
mousedown()
mouseenter()
mouseleave()
mousemove()
mouseout()
mouseover()
mouseup()
toggle()
表单
blur()
change()
focus()
jQuery.param()
select()
serialize()
serializeArray()
submit()
val()
操作
Class属性
addClass()
hasClass()
removeClass()
toggleClass()
复制
clone()
包裹
unwrap()
wrap()
wrapAll()
wrapInner()
内部插入
append()
appendTo()
html()
prepend()
prependTo()
text()
外部插入
after()
before()
insertAfter()
insertBefore()
DOM删除
detach()
empty()
remove()
unwrap()
DOM替换
replaceAll()
replaceWith()
通用属性
attr()
removeAttr()
val()
样式属性
css()
height()
innerHeight()
innerWidth()
offset()
outerHeight()
outerWidth()
position()
scrollLeft()
scrollTop()
width()
杂项
集合操作
each()
jQuery.param()
数据存储
data()
removeData()
DOM元素方法
get()
index()
size()
toArray()
设置方法
jQuery.noConflict()
偏移
offset()
offsetParent()
position()
scrollLeft()
scrollTop()
内部使用
context
jQuery.error()
pushStack()
selector
属性
jQuery对象实例属性
context
length
selector
全局jQuery对象属性
jQuery.browser
jQuery.browser.version
jQuery.fx.interval
jQuery.fx.off
jQuery.support
选择器
属性
[attribute*="value"]
[attribute|="value"]
[attribute~="value"]
[attribute$="value"]
[attribute="value"]
[attribute]
[attributeFilter1][attributeFilter2][attributeFilterN]
[attribute!="value"]
[attribute^="value"]
基础
*
.class
element
#id
selector1, selector2, selectorN
简单
:animated
:eq(index)
:even
:first
:gt(index)
:header
:last
:lt(index)
:not(selector)
:odd
子元素
:first-child
:last-child
:nth-child(index/even/odd/equation)
:only-child
内容
:contains(text)
:empty
:has(selector)
:parent
表单
:button
:checkbox
:checked
:disabled
:enabled
:file
:image
:input
:password
:radio
:reset
:selected
:submit
:text
层级
parent > child
ancestor descendant
prev + next
prev ~ siblings
可见性
:hidden
:visible
遍历
筛选
eq()
filter()
first()
has()
is()
last()
map()
not()
slice()
其他遍历
add()
andSelf()
contents()
end()
树遍历
children()
closest()
find()
next()
nextAll()
nextUntil()
offsetParent()
parent()
parents()
parentsUntil()
prev()
prevAll()
prevUntil()
siblings()
工具
clearQueue()
dequeue()
jQuery.boxModel
jQuery.browser
jQuery.browser.version
jQuery.contains()
jQuery.data()
jQuery.dequeue()
jQuery.each()
jQuery.extend()
jQuery.globalEval()
jQuery.grep()
jQuery.inArray()
jQuery.isArray()
jQuery.isEmptyObject()
jQuery.isFunction()
jQuery.isPlainObject()
jQuery.isWindow()
jQuery.isXMLDoc()
jQuery.makeArray()
jQuery.map()
jQuery.merge()
jQuery.noop()
jQuery.parseJSON()
jQuery.proxy()
jQuery.queue()
jQuery.removeData()
jQuery.support
jQuery.trim()
jQuery.type()
jQuery.unique()
queue()
版本
1.4.4 版
fadeToggle()
1.4.3 版
bind()
blur()
change()
click()
data()
dblclick()
error()
event.namespace
fadeIn()
fadeOut()
fadeTo()
focus()
focusin()
focusout()
hide()
jQuery.data()
jQuery.fx.interval
jQuery.isWindow()
jQuery.type()
keydown()
keypress()
keyup()
load()
mousedown()
mouseenter()
mouseleave()
mousemove()
mouseout()
mouseover()
mouseup()
resize()
scroll()
select()
show()
slideDown()
slideToggle()
slideUp()
submit()
toggle()
unbind()
unload()
1.4.2 版
delegate()
undelegate()
1.4.1 版
die()
height()
jQuery.error()
jQuery.parseJSON()
width()
1.4 版
add()
addClass()
after()
append()
before()
bind()
clearQueue()
closest()
css()
data()
delay()
detach()
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()
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()
selector
toggle()
toggleClass()
1.2.6 版
event.timeStamp
innerHeight()
innerWidth()
outerHeight()
outerWidth()
scrollLeft()
scrollTop()
1.2.3 版
data()
jQuery.data()
jQuery.removeData()
removeData()
1.2 版
andSelf()
:animated
contents()
dequeue()
hasClass()
:header
jQuery.inArray()
jQuery.isFunction()
jQuery.makeArray()
jQuery.param()
map()
nextAll()
offset()
position()
prevAll()
queue()
replaceAll()
replaceWith()
serializeArray()
stop()
triggerHandler()
wrapAll()
wrapInner()
1.1.4 版
:contains(text)
event.relatedTarget
:first-child
:has(selector)
jQuery.isXMLDoc()
:last-child
:nth-child(index/even/odd/equation)
:only-child
slice()
1.1.3 版
event.which
jQuery.browser
jQuery.browser.version
jQuery.unique()
1.1.2 版
eq()
1.1 版
attr()
event.data
jQuery.ajaxSetup()
one()
1.0.4 版
event.pageX
event.pageY
jQuery.globalEval()
1.0 版
add()
addClass()
after()
ajaxComplete()
ajaxError()
ajaxSend()
ajaxStart()
ajaxStop()
ajaxSuccess()
*
animate()
append()
appendTo()
attr()
[attribute*="value"]
[attribute|="value"]
[attribute~="value"]
[attribute$="value"]
[attribute="value"]
[attribute]
[attributeFilter1][attributeFilter2][attributeFilterN]
[attribute!="value"]
[attribute^="value"]
before()
bind()
blur()
:button
change()
:checkbox
:checked
parent > child
children()
.class
click()
clone()
css()
dblclick()
ancestor descendant
:disabled
each()
element
:empty
empty()
:enabled
end()
:eq(index)
error()
:even
event.preventDefault()
event.stopPropagation()
event.target
event.type
fadeIn()
fadeOut()
fadeTo()
:file
filter()
find()
:first
focus()
get()
:gt(index)
height()
:hidden
hide()
hover()
html()
#id
:image
index()
:input
insertAfter()
insertBefore()
is()
jQuery()
jQuery.ajax()
jQuery.boxModel
jQuery.browser
jQuery.browser.version
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
length
load()
load()
:lt(index)
mousedown()
mouseenter()
mouseleave()
mousemove()
mouseout()
mouseover()
mouseup()
selector1, selector2, selectorN
next()
prev + next
prev ~ siblings
:not(selector)
not()
:odd
:parent
parent()
parents()
:password
prepend()
prependTo()
prev()
pushStack()
:radio
ready()
remove()
removeAttr()
removeClass()
:reset
resize()
scroll()
select()
:selected
serialize()
show()
siblings()
size()
slideDown()
slideToggle()
slideUp()
:submit
submit()
:text
text()
toggle()
toggle()
toggleClass()
trigger()
unbind()
unload()
val()
:visible
width()
wrap()