2020年3月5日

深入浅出解析AJAX

摘要: AJAX完全依赖于XMLHttpRequest对象 GET请求 // 创建xhr对象 var xhr = new XMLHttpRequest(); // 监听xhr对象 xhr.onreadystatechange = function() { if (xhr.readyState == 4) { 阅读全文

posted @ 2020-03-05 12:16 素心~ 阅读(6149) 评论(0) 推荐(0) 编辑

导航