摘要: 1.创建一个XMLHttpRequest对象 2、连接服务器建立请求 xhr.open(method,url,async) 参数: method 请求方式:get | post ,get默认方式 url 请求地址 async 是否异步,布尔值 true异步 false 同步 3、发送请求 send( 阅读全文
posted @ 2018-06-22 10:00 xxx=== 阅读(90) 评论(0) 推荐(0) 编辑