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; }var my_income_price = GetQueryString("totalMoney");
本文共 324 字,大约阅读时间需要 1 分钟。
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; }var my_income_price = GetQueryString("totalMoney");
转载于:https://www.cnblogs.com/cynthia-wuqian/p/6214317.html