XMLHttpRequest 在ie下设置timeout报错

错误信息呢?要贴出来看看,不然怎么分析。。。

去掉 xhr.timeout = 3000 就正常了

解决了,在open之后再去设置timeout

1赞