getrequest : function() { var url = location.search; //获取url中"?"符后的字串 var therequest = new object(); if (url.indexof("?") != -1) { var str = url.substr(1); strs = str.split("&"); for(var i = 0; i < strs.length; i ++) { therequest[strs[i].split("=")[0]]=unescape(strs[i].split("=")[1]); } } return therequest; }
如对本文有疑问, 点击进行留言回复!!
2016年信息安全工程师综合知识第11-15题解析【建群网培信息安全工程师】
网友评论