Ajax readystate状态

2017/02/12 iteye

XMLHttpRequest readyState  Integer reporting the status of the request: 0 = uninitialized 1 = loading  已调用open方法 2 = loaded  已调用send方法 3 = interactive 已接收部分数据 4 = completed 数据接收完毕,此时可以通过通过responseBody和responseText获取完整的回应数据

Search

    Table of Contents