摘要: 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; } 阅读全文
posted @ 2011-08-23 12:18 Ants 阅读(368) 评论(2) 推荐(0) 编辑