摘要: js中: function ajax(method,url,callBack,data,flag){ var xhr = null; if(window.XMLHttpRequest){ xhr = new XMLHttpRequest; }else{ xhr = new ActiveXObject 阅读全文
posted @ 2019-10-16 19:49 hongdou_hh 阅读(361) 评论(0) 推荐(0) 编辑
摘要: <script> let url = "http://witmax.cn/index.php?key0=0&key1=1&key2=2"; let hongdou = url.indexOf("?"); //检索 let str = url.slice(hongdou+1); //选取 let ar 阅读全文
posted @ 2019-10-16 19:35 hongdou_hh 阅读(860) 评论(0) 推荐(0) 编辑