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;}
jQuery正则获取链接参数
原文地址:http://www.cnblogs.com/rookie-q/p/7608198.html