标签:cap index split oca style 链接 bst new url
var url = location.search; var Request = new Object(); if(url.indexOf("?")!=-1){ var str = url.substr(1); //去掉?号 var strs = str.split("&"); for(var i=0;i<strs.length;i++){ Request[strs[i].split("=")[0]]=unescape(strs[i].split("=")[1]); } }
标签:cap index split oca style 链接 bst new url
原文地址:http://www.cnblogs.com/xulei1992/p/6818002.html