Code function GetQueryValue(name) { var reg=new RegExp("(^|&)"+ name +"=([^&]*)(&|$)"); var r=window.location.search.substr(1).match(reg); if (r!=null) return unescape(r[2]); return ""; }
转载于:https://www.cnblogs.com/KenBlove/archive/2008/10/14/1310581.html
转载请注明原文地址: https://mac.8miu.com/read-22361.html