Ajax 1.创建ajax对象 var xhr = new XMLHttpRequest() 2.配置本次请求信息 xhr.open(请求方式,请求地址,是否异步) 3.注册请求完成事件 xhr.onload = function(){} 4.把请求发送出去 xhr.send()