Ajax原理

Ajax是与服务器交换数据并更新部分网页

IE:ActiveXObejct(Microsoft.XMLHTTP)

其他浏览器:XMLHttpRequest()  

实现  xhr=new XMLHttpRequest()  

          Xhr.open(method,url,async)

          Xhr.send(string)

 

原文地址:https://www.cnblogs.com/zhuMother/p/12200188.html