1 function GetQueryString(name) 2 { 3 var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)"); 4 var r = window.location.search.substr(1).match(reg); 5 if(r!=null)return unescape(r[2]); return null; 6 }
Powered by: 博客园 Copyright © 2024 itboy2009 Powered by .NET 9.0 on Kubernetes