Ajax原理

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

IE:ActiveXObejct(Microsoft.XMLHTTP)

其他浏览器:XMLHttpRequest()  

 

实现  xhr=new XMLHttpRequest()  

          Xhr.open(method,url,async)

          Xhr.send(string)

 

posted on 2020-01-16 11:07  猪mother  阅读(99)  评论(0编辑  收藏  举报