标签:str div sub var cape rip null bst name
function GetQueryString(name){ var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)"); var r = window.location.search.substr(1).match(reg); if(r!=null)return unescape(r[2]); return null; }
标签:str div sub var cape rip null bst name
原文地址:http://www.cnblogs.com/anxiaoyu/p/7723553.html