核心
jQuery 核心函数
jQuery 对象访问
数据缓存
-
队列控制
插件机制
多库共存
选择器
基本
层级
基本
内容
可见性
属性
子元素
表单
表单对象属性
Ajax
Ajax 请求
- jQuery.ajax([options])
- load(url, [data], [callback])
- jQuery.get(url, [data], [fn], [type])
- jQuery.getJSON(url, [data], [fn])
- jQuery.getScript(url, [callback])
- jQuery.post(url, [data], [fn], [type])
Ajax 事件
其它
工具
浏览器及特性检测
数组和对象操作
函数操作
测试操作
字符串操作
URL
插件编写
-
核心
- jQuery 核心函数
- »jQuery(expr, [context])
- »jQuery(html, [ownerDoc])
- »jQuery(html, props)
- »jQuery(elements)
- »jQuery()
- »jQuery(callback)
- jQuery 对象访问
- »each(callback)
- »size()
- »length
- »selector
- »context
- »get()
- »get(index)
- »index(subject)
- 数据缓存
- »data([name])
- »data(name, value)
- »data(obj)
- »removeData(name)
- »jQuery.data([element], [key])
- »jQuery.data(element, key, val)
- 队列控制
- »queue(name)
- »queue(name ,callback)
- »queue(name, queue)
- »dequeue(name)
- »clearQueue([queueName])
- 插件机制
- »jQuery.fn.extend(object)
- »jQuery.extend(object)
- 多库共存
- »jQuery.noConflict()
- »jQuery.noConflict(extreme)
-
属性
- 属性
- »attr(name)
- »attr(properties)
- »attr(key, value)
- »attr(key, fn)
- »removeAttr(name)
- CSS 类
- »addClass(class)
- »addClass(function(index, class))
- »removeClass(class)
- »removeClass(class | fn])
- »toggleClass(class)
- »toggleClass(class, switch)
- »toggleClass(function(index, class), [switch])
- HTML代码/文本/值
- »html()
- »html(val)
- »html(function(index, html))
- »text()
- »text(val)
- »text(function(index, text))
- »val()
- »val(val)
- »val(array)
- »val(function(index, value))
-
CSS
- CSS
- »css(name)
- »css(properties)
- »css(name, value)
- »css(name, function(index, value))
- 位置
- »offset()
- »offset(coordinates)
- »position()
- »scrollTop()
- »scrollTop(val)
- »scrollLeft()
- »scrollLeft(val)
- 尺寸
- »height()
- »height(val)
- »width()
- »width(val)
- »innerHeight()
- »innerWidth()
- »outerHeight(options)
- »outerWidth(options)
-
选择器
- 基本
- »#id
- »element
- ».class
- »*
- »selector1,selector2,selectorN
- 层级
- »ancestor descendant
- »parent > child
- »prev + next
- »prev ~ sibddngs
- 基本
- »:first
- »:last
- »:not
- »:even
- »:odd
- »:eq
- »:gt
- »:lt
- »:header
- »:animated
- 内容
- »:contains
- »:empty
- »:has
- »:parent
- 可见性
- »:hidden
- »:visible
- 属性
- »[attribute]
- »[attribute=value]
- »[attribute!=value]
- »[attribute^=value]
- »[attribute$=value]
- »[attribute*=value]
- »[attrSel1][attrSel2][attrSelN]
- 子元素
- »:nth-child
- »:first-child
- »:last-child
- »:only-child
- 表单
- »:input
- »:text
- »:password
- »:radio
- »:checkbox
- »:submit
- »:image
- »:reset
- »:button
- »:file
- »:hidden
- 表单对象属性
- »:enabled
- »:disabled
- »:checked
- »:selected
-
文档处理
- 内部插入
- »append(content)
- »append(function(index, html))
- »appendTo(content)
- »prepend(content)
- »prepend(function(index, html))
- »prependTo(content)
- 外部插入
- »after(content)
- »after(function)
- »before(content)
- »before(function)
- »insertAfter(content)
- »insertBefore(content)
- 包裹
- »wrap(html)
- »wrap(elem)
- »wrap(fn)
- »unwrap()
- »wrapAll(html)
- »wrapAll(elem)
- »wrapInner(html)
- »wrapInner(elem)
- »wrapInner(fn)
- 替换
- »replaceWith(content)
- »replaceAll(selector)
- 删除
- »empty()
- »remove([expr])
- »detach([expr])
- 复制
- »clone()
- »clone(true)
-
筛选
- 过滤
- »eq(index)
- »first()
- »last()
- »hasClass(class)
- »filter(expr)
- »filter(fn)
- »is(expr)
- »map(callback)
- »has(expr)
- »not(expr)
- »slice(start, [end])
- 查找
- »children([expr])
- »closest([expr])
- »find(expr)
- »next([expr])
- »nextAll([expr])
- »nextUntil([expr])
- »offsetParent()
- »parent([expr])
- »parents([expr])
- »parentsUntil([expr])
- »prev([expr])
- »prevAll([expr])
- »prevUntil([expr])
- »siblings([expr])
- 串联
- »add(expr, [context])
- »andSelf()
- »contents()
- »end()
-
事件
- 页面载入
- »ready(fn)
- 事件处理
- »bind(type, [data], fn)
- »one(type, [data], fn)
- »trigger(type, [data])
- »triggerHandler(type, [data])
- »unbind([type], [data])
- 事件委派
- »live(type, [data], fn)
- »die([type], [fn])
- 事件切换
- »hover(over, out)
- »toggle(fn, fn2, [fn3, fn4, ...])
- 事件
- »blur()
- »blur(fn)
- »change()
- »change(fn)
- »click()
- »click(fn)
- »dblclick()
- »dblclick(fn)
- »error()
- »error(fn)
- »focus()
- »focus(fn)
- »focusin( [fn] )
- »focusout( [fn] )
- »keydown()
- »keydown(fn)
- »keypress()
- »keypress(fn)
- »keyup()
- »keyup(fn)
- »mousedown(fn)
- »mousemove(fn)
- »mouseout(fn)
- »mouseover(fn)
- »mouseup(fn)
- »resize(fn)
- »scroll(fn)
- »select()
- »select(fn)
- »submit()
- »submit(fn)
- »unload(fn)
-
效果
- 基本
- »show()
- »show(speed, [callback])
- »hide()
- »hide(speed, [callback])
- »toggle()
- »toggle(switch)
- »toggle(speed, [callback])
- 滑动
- »slideDown(speed, [callback])
- »slideUp(speed, [callback])
- »slideToggle(speed, [callback])
- 淡入淡出
- »fadeIn(speed, [callback])
- »fadeOut(speed, [callback])
- »fadeTo(speed, opacity, [fn])
- 自定义
- »animate(param,[dur],[e],[fn])
- »animate(params, options)
- »stop([clearQueue], [gotoEnd])
- »delay(duration, [queueName])
- 设置
- »jQuery.fx.off
-
Ajax
- Ajax 请求
- »jQuery.ajax([options])
- »load(url, [data], [callback])
- »jQuery.get(url, [data], [fn], [type])
- »jQuery.getJSON(url, [data], [fn])
- »jQuery.getScript(url, [callback])
- »jQuery.post(url, [data], [fn], [type])
- Ajax 事件
- »ajaxComplete(callback)
- »ajaxError(callback)
- »ajaxSend(callback)
- »ajaxStart(callback)
- »ajaxStop(callback)
- »ajaxSuccess(callback)
- 其它
- »jQuery.ajaxSetup([options])
- »serialize()
- »serializeArray()
-
工具
- 浏览器及特性检测
- »jQuery.support
- »jQuery.browser
- »jQuery.browser.version
- »jQuery.boxModel
- 数组和对象操作
- »jQuery.each(object, [callback])
- »jQuery.extend([d],tgt,obj1,[objN])
- »jQuery.grep(array, fn, [invert])
- »jQuery.makeArray(obj)
- »jQuery.map(array, callback)
- »jQuery.inArray(value, array)
- »jQuery.toArray()
- »jQuery.merge(first, second)
- »jQuery.unique(array)
- »jQuery.parseJSON(json)
- 函数操作
- »jQuery.noop
- »jQuery.proxy(function, scope)
- 测试操作
- »jQuery.contains(container, contained)
- »jQuery.isArray(obj)
- »jQuery.isFunction(obj)
- »jQuery.isEmptyObject(obj)
- »jQuery.isPlainObject(obj)
- 字符串操作
- »jQuery.trim(str)
- URL
- »jQuery.param(obj, [traditional])
- 插件编写
- »jQuery.error(message)
-
关于
- »jQuery 1.3 中文在线API
- »jQuery 1.2 中文在线API
- »报告错误与bug
输入要查找的关键字:
#id*.class:animated:button:checkbox:checked:contains:disabled:empty:enabled:eq:even:file:first-child:first:gt:has:header:hidden:hidden:image:input:last-child:last:lt:not:nth-child:odd:only-child:parent:password:radio:reset:selected:submit:text:visible[attrSel1][attrSel2][attrSelN][attribute!=value][attribute$=value][attribute*=value][attribute=value][attribute][attributeadd(expr, [context])addClass(class)addClass(function(index, class))after(content)after(function)ajaxComplete(callback)ajaxError(callback)ajaxSend(callback)ajaxStart(callback)ajaxStop(callback)ajaxSuccess(callback)ancestor descendantandSelf()animate(param,[dur],[e],[fn])animate(params, options)append(content)append(function(index, html))appendTo(content)attr(key, fn)attr(key, value)attr(name)attr(properties)before(content)before(function)bind(type, [data], fn)blur()blur(fn)change()change(fn)children([expr])clearQueue([queueName])click()click(fn)clone()clone(true)closest([expr])contents()contextcss(name)css(name, function(index, value))css(name, value)css(properties)data([name])data(name, value)data(obj)dblclick()dblclick(fn)delay(duration, [queueName])dequeue(name)detach([expr])die([type], [fn])each(callback)elementempty()end()eq(index)error()error(fn)fadeIn(speed, [callback])fadeOut(speed, [callback])fadeTo(speed, opacity, [fn])filter(expr)filter(fn)find(expr)first()focus()focus(fn)focusin( [fn] )focusout( [fn] )get()get(index)has(expr)hasClass(class)height()height(val)hide()hide(speed, [callback])hover(over, out)html()html(function(index, html))html(val)index(subject)innerHeight()innerWidth()insertAfter(content)insertBefore(content)is(expr)jQuery()jQuery(callback)jQuery(elements)jQuery(expr, [context])jQuery(html, [ownerDoc])jQuery(html, props)jQuery.ajax([options])jQuery.ajaxSetup([options])jQuery.boxModeljQuery.browser.versionjQuery.browserjQuery.contains(container, contained)jQuery.data([element], [key])jQuery.data(element, key, val)jQuery.each(object, [callback])jQuery.error(message)jQuery.extend([d],tgt,obj1,[objN])jQuery.extend(object)jQuery.fn.extend(object)jQuery.fx.offjQuery.get(url, [data], [fn], [type])jQuery.getJSON(url, [data], [fn])jQuery.getScript(url, [callback])jQuery.grep(array, fn, [invert])jQuery.inArray(value, array)jQuery.isArray(obj)jQuery.isEmptyObject(obj)jQuery.isFunction(obj)jQuery.isPlainObject(obj)jQuery.makeArray(obj)jQuery.map(array, callback)jQuery.merge(first, second)jQuery.noConflict()jQuery.noConflict(extreme)jQuery.noopjQuery.param(obj, [traditional])jQuery.parseJSON(json)jQuery.post(url, [data], [fn], [type])jQuery.proxy(function, scope)jQuery.supportjQuery.toArray()jQuery.trim(str)jQuery.unique(array)keydown()keydown(fn)keypress()keypress(fn)keyup()keyup(fn)last()lengthlive(type, [data], fn)load(url, [data], [callback])map(callback)mousedown(fn)mousemove(fn)mouseout(fn)mouseover(fn)mouseup(fn)next([expr])nextAll([expr])nextUntil([expr])not(expr)offset(coordinates)offsetParent()offsetone(type, [data], fn)outerHeight(options)outerWidth(options)parent > childparent([expr])parents([expr])parentsUntil([expr])position()prepend(content)prepend(function(index, html))prependTo(content)prev + nextprev ~ siblingsprev([expr])prevAll([expr])prevUntil([expr])queue(name ,callback)queue(name)queue(name, queue)ready(fn)remove([expr])removeAttr(name)removeClass(class | fn])removeClass(class)removeData(name)replaceAll(selector)replaceWith(content)resize(fn)scroll(fn)scrollLeft()scrollLeft(val)scrollTop()scrollTop(val)select()select(fn)selector1,selector2,selectorNselectorserialize()serializeArray()show()show(speed, [callback])siblings([expr])size()slice(start, [end])slideDown(speed, [callback])slideToggle(speed, [callback])slideUp(speed, [callback])stop([clearQueue], [gotoEnd])submit()submit(fn)text()text(function(index, text))text(val)toggle()toggle(fn, fn2, [fn3, fn4, ...])toggle(speed, [callback])toggle(switch)toggleClass(class)toggleClass(class, switch)toggleClass(function(index, class), [switch])trigger(type, [data])triggerHandler(type, [data])unbind([type], [data])unload(fn)unwrap()val()val(array)val(function(index, value))val(val)width()width(val)wrap(elem)wrap(fn)wrap(html)wrapAll(elem)wrapAll(html)wrapInner(elem)wrapInner(fn)wrapInner(html)
#id*.class:animated:button:checkbox:checked:contains:disabled:empty:enabled:eq:even:file:first-child:first:gt:has:header:hidden:hidden:image:input:last-child:last:lt:not:nth-child:odd:only-child:parent:password:radio:reset:selected:submit:text:visible[attrSel1][attrSel2][attrSelN][attribute!=value][attribute$=value][attribute*=value][attribute=value][attribute][attributeadd(expr, [context])addClass(class)addClass(function(index, class))after(content)after(function)ajaxComplete(callback)ajaxError(callback)ajaxSend(callback)ajaxStart(callback)ajaxStop(callback)ajaxSuccess(callback)ancestor descendantandSelf()animate(param,[dur],[e],[fn])animate(params, options)append(content)append(function(index, html))appendTo(content)attr(key, fn)attr(key, value)attr(name)attr(properties)before(content)before(function)bind(type, [data], fn)blur()blur(fn)change()change(fn)children([expr])clearQueue([queueName])click()click(fn)clone()clone(true)closest([expr])contents()contextcss(name)css(name, function(index, value))css(name, value)css(properties)data([name])data(name, value)data(obj)dblclick()dblclick(fn)delay(duration, [queueName])dequeue(name)detach([expr])die([type], [fn])each(callback)elementempty()end()eq(index)error()error(fn)fadeIn(speed, [callback])fadeOut(speed, [callback])fadeTo(speed, opacity, [fn])filter(expr)filter(fn)find(expr)first()focus()focus(fn)focusin( [fn] )focusout( [fn] )get()get(index)has(expr)hasClass(class)height()height(val)hide()hide(speed, [callback])hover(over, out)html()html(function(index, html))html(val)index(subject)innerHeight()innerWidth()insertAfter(content)insertBefore(content)is(expr)jQuery()jQuery(callback)jQuery(elements)jQuery(expr, [context])jQuery(html, [ownerDoc])jQuery(html, props)jQuery.ajax([options])jQuery.ajaxSetup([options])jQuery.boxModeljQuery.browser.versionjQuery.browserjQuery.contains(container, contained)jQuery.data([element], [key])jQuery.data(element, key, val)jQuery.each(object, [callback])jQuery.error(message)jQuery.extend([d],tgt,obj1,[objN])jQuery.extend(object)jQuery.fn.extend(object)jQuery.fx.offjQuery.get(url, [data], [fn], [type])jQuery.getJSON(url, [data], [fn])jQuery.getScript(url, [callback])jQuery.grep(array, fn, [invert])jQuery.inArray(value, array)jQuery.isArray(obj)jQuery.isEmptyObject(obj)jQuery.isFunction(obj)jQuery.isPlainObject(obj)jQuery.makeArray(obj)jQuery.map(array, callback)jQuery.merge(first, second)jQuery.noConflict()jQuery.noConflict(extreme)jQuery.noopjQuery.param(obj, [traditional])jQuery.parseJSON(json)jQuery.post(url, [data], [fn], [type])jQuery.proxy(function, scope)jQuery.supportjQuery.toArray()jQuery.trim(str)jQuery.unique(array)keydown()keydown(fn)keypress()keypress(fn)keyup()keyup(fn)last()lengthlive(type, [data], fn)load(url, [data], [callback])map(callback)mousedown(fn)mousemove(fn)mouseout(fn)mouseover(fn)mouseup(fn)next([expr])nextAll([expr])nextUntil([expr])not(expr)offset(coordinates)offsetParent()offsetone(type, [data], fn)outerHeight(options)outerWidth(options)parent > childparent([expr])parents([expr])parentsUntil([expr])position()prepend(content)prepend(function(index, html))prependTo(content)prev + nextprev ~ siblingsprev([expr])prevAll([expr])prevUntil([expr])queue(name ,callback)queue(name)queue(name, queue)ready(fn)remove([expr])removeAttr(name)removeClass(class | fn])removeClass(class)removeData(name)replaceAll(selector)replaceWith(content)resize(fn)scroll(fn)scrollLeft()scrollLeft(val)scrollTop()scrollTop(val)select()select(fn)selector1,selector2,selectorNselectorserialize()serializeArray()show()show(speed, [callback])siblings([expr])size()slice(start, [end])slideDown(speed, [callback])slideToggle(speed, [callback])slideUp(speed, [callback])stop([clearQueue], [gotoEnd])submit()submit(fn)text()text(function(index, text))text(val)toggle()toggle(fn, fn2, [fn3, fn4, ...])toggle(speed, [callback])toggle(switch)toggleClass(class)toggleClass(class, switch)toggleClass(function(index, class), [switch])trigger(type, [data])triggerHandler(type, [data])unbind([type], [data])unload(fn)unwrap()val()val(array)val(function(index, value))val(val)width()width(val)wrap(elem)wrap(fn)wrap(html)wrapAll(elem)wrapAll(html)wrapInner(elem)wrapInner(fn)wrapInner(html)