摘要: // 使用原生js 封装ajax // 兼容xhr对象 function createXHR(){ if(typeof XMLHttpRequest != "undefined"){ // 非IE6浏览器 return new XMLHttpRequest(); }else if(typeof ActiveXObject != "undefined"){ ... 阅读全文
posted @ 2017-05-30 23:00 v斌v 阅读(1057) 评论(0) 推荐(0) 编辑