速查表(回到API首页)
来源:互联网 发布:sem和seo和优化的区别 编辑:程序博客网 时间:2024/04/29 15:26
速查表(回到API首页)
核心
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 ~ siblings
基本
- :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 中文在线
- jQuery 1.2 中文在线
- 报告错误与bug
- 速查表(回到API首页)
- AndroidStudio如何回到首页面
- jQuery 添加收藏夹+设为首页+回到顶部
- 不活动页面 一段时间后 自动退出 回到首页页面
- 原生js实现淘宝首页回到顶部效果
- jQuery 添加收藏夹+设为首页+回到顶部
- 全局异常捕获中无限回到首页的问题
- 回到首页及QQ客服 按钮悬浮实现
- ffmpeg首页搜索可以查到api
- App在自己界面奔溃回到首页,状态栏沉浸式消失bug
- 首页
- 首页
- 首页
- 首页
- 首页
- 首页
- 首页
- 首页
- oracle笔记
- 利用Cloudera实现Hadoop
- maven 学习笔记(二)创建一个简单的 eclipse+android+maven 工程
- Xml Tools
- 关于多线程以及其访问类的成员函数
- 速查表(回到API首页)
- myeclipse连接mysql 详细教程!
- javadoc和文档注释怎么使用?
- Oracle数据库startup和shutdown方式
- Ubuntu下安装及配置单点hadoop
- curl使用
- 又一个通用分页存储过程,支持表别名,多表联合查询SQL语句--转载
- MySQL错误:You are using safe update mode and you tried to update a table without a WHERE that uses a K
- 装饰模式Decorator