ajax的交互流程有哪几步? 2024年4月5日 作者 admin 1)创建ajax对象xhr = new XMLHttpRequest2)规定请求地址xhr.open(method,url,async)3)等待服务器相应xhr.onload4)向服务器发送请求xhr.send()