xmlHttpRequest.readystate=4,但xmlHttpReq=0?

哈哈,就知道xmlHttpReq==200是表示成功,

400是表示页面没找到,但是我的是readystate是4,而xmlHttpRequest.status居然是0,

也就是说ajax加载的数据已经加载成功了,但是status居然等于0,从来没碰到过,还以为是怎么了类,

原来本地响应成功的话,xmlHttpRequest.status==0

..
原文地址:https://www.cnblogs.com/lanyueer/p/2153704.html