XMLHttpRequest_xhr load => an xmlhttprequest finished loading._c_perfectworld的博客-CSDN博客

网站介绍:文章浏览阅读752次。xhr是浏览器提供的js内置对象,通过它,可以请求服务器上的数据资源使用xhr发起GET请求创建 xhr 对象 调用 xhr.open()函数 调用 xhr.send()函数 监听 xhr.onreadystatechange事件xhr对象的readyState属性XMLHttpRequest的readyState属性,用来表示当前Ajax请求所处的状态,每个Ajax请求必然处于一下状态中的一个使用xhr发起带参数的GET请求只需在调用 xhr.open期间,为URL.._xhr load => an xmlhttprequest finished loading.