什么是Ajax引擎

//在浏览器的内部,有一个Ajax的引擎,可以通过该引擎向服务器发送请求

//Ajax引擎做出请求的步骤:
//1.创建XMLHttpRequest对象(即Ajax引擎)
var xhr = new XMLHttpRequest();

//2.设置“请求状态的监听器”,等待服务器做出相应
xhr.onreadystatechange = function(){

}

//3.创建http请求
xhr.open("get","request-path",true);


//4.发送http请求
xhr.send();

原文地址:https://www.cnblogs.com/su-chu-zhi-151/p/11220371.html