首页 > 代码库 > 【jquery】ajax请求
【jquery】ajax请求
1. defferred对象
实现链式回调函数编程。
http://www.ruanyifeng.com/blog/2011/08/a_detailed_explanation_of_jquery_deferred_object.html
- def.done(d,[d])
- def.fail(failCallbacks)
def.isRejected()1.8-def.isResolved()1.8-- def.reject(args)
- def.rejectWith(c,[a])
- def.resolve(args)
- def.resolveWith(c,[a])
- def.then(d,f,[,p])1.7*
- def.promise([ty],[ta])
- def.pipe([d],[f],[p])1.7*
- def.always(al,[al])
- def.notify(args)1.7+
- def.notifyWith(c,[a])1.7+
- def.progress(proCal)1.7+
- def.state()1.7+
- cal.add(callbacks)1.7+
- cal.disable()1.7+
- cal.empty()1.7+
- cal.fire(arguments)1.7+
- cal.fired()1.7+
- cal.fireWith([c] [,a])1.7+
- cal.has(callback)1.7+
- cal.lock()1.7+
- cal.locked()1.7+
- cal.remove(callbacks)1.7+
- $.callbacks(flags)1.7+
【jquery】ajax请求
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。