码迷,mamicode.com
首页 > 其他好文 > 详细

readystate

时间:2014-08-02 12:20:23      阅读:219      评论:0      收藏:0      [点我收藏+]

标签:for   cti   ar   res   har   ad   c   web   

在《Pragmatic Ajax A Web 2.0 Primer 》中对readyStae状态的介绍,摘译如下: 
0: (Uninitialized) the send( ) method has not yet been invoked. 
1: (Loading) the send( ) method has been invoked, request in progress. 
2: (Loaded) the send( ) method has completed, entire response received. 
3: (Interactive) the response is being parsed. 
4: (Completed) the response has been parsed, is ready for harvesting. 
0 - (未初始化)还没有调用send()方法 
1 - (载入)已调用send()方法,正在发送请求 
2 - (载入完成)send()方法执行完成,已经接收到全部响应内容 
3 - (交互)正在解析响应内容 
4 - (完成)响应内容解析完成,可以在客户端调用了 

readystate,布布扣,bubuko.com

readystate

标签:for   cti   ar   res   har   ad   c   web   

原文地址:http://www.cnblogs.com/Yuslar/p/3886665.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!