摘要: 1.创建异步对象,使用js的语法 var xhr = new XMLhttpRequest(); 2.XmlhttoRequest方法 1)open(请求方式,服务器端的访问地址,异步还是同步) xhr.open("get","loginServlet","true); 2)send(): 使用异步 阅读全文
posted @ 2021-06-07 18:43 丶恍惚 阅读(36) 评论(0) 推荐(0)