摘要: /* -----------ajax模块开始 -----------*/ var // Document location ajaxLocParts, ajaxLocation, ajax_nonce = jQuery.now(), ajax_rquery = /\?/, rhash = /#.*$/, rts = /([?&])_=... 阅读全文
posted @ 2014-10-23 23:25 cheerfulCoder 阅读(1667) 评论(0) 推荐(0) 编辑
摘要: 写在前面: 先讲讲ajax中的相关函数,然后结合函数功能来具体分析源代码。 相关函数: >>ajax全局事件处理程序 .ajaxStart(handler) 注册一个ajaxStart事件处理器。当一个Ajax请求开始,并且同时无其它未完成的Ajax请求时,jQuery触发ajaxStart事件。 .ajaxSe... 阅读全文
posted @ 2014-10-23 23:22 cheerfulCoder 阅读(101) 评论(0) 推荐(0) 编辑