获取请求后面参数
functiongetSearchObj(){varurl=getSearch();varsearchObj={};if(url){//去掉?号url=url.substr(1);if(url.length>0){vararr=url.split("&");for(vari=0;i0&&keyVal.indexOf("=")>0){varkeyValArr=keyVal.split("=");varkey=keyValArr[0];varval=keyValArr[1];searchObj[key]=val;}}}}returnsearchObj;}
相关推荐
86193952 2020-10-27
小木兮子 2020-11-11
HeyShHeyou 2020-11-17
seanzed 2020-10-15
huangliuyu00 2020-09-24
libaoshan 2020-09-11
zhangpan 2020-09-10
chongxiaocheng 2020-08-16
xcguoyu 2020-08-15
Qizonghui 2020-08-02
ldcwang 2020-07-26
mqfcu 2020-07-21
jeason 2020-07-20
sunzhihaofuture 2020-07-19
knightwatch 2020-07-19
点滴技术生活 2020-07-19
Reiki 2020-07-06