Ajax readystate状态
XMLHttpRequest readyState Integer reporting the status of the request: 0 = uninitialized 1 = loading 已调用open方法 2 = loaded 已调用send方法 3 = interactive 已接收部分数据 4 = completed 数据接收完毕,此时可以通过通过responseBody和responseText获取完整的回应数据
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 石头记!
评论