现在的位置: 首页 > 综合 > 正文

Ajax readystate状态

2013年08月29日 ⁄ 综合 ⁄ 共 195字 ⁄ 字号 评论关闭

XMLHttpRequest readyState
 Integer reporting the status of the request:

0 = uninitialized

1 = loading  已调用open方法

2 = loaded  已调用send方法

3 = interactive 已接收部分数据

4 = completed 数据接收完毕,此时可以通过通过responseBody和responseText获取完整的回应数据

抱歉!评论已关闭.