标签:amp string oca new bst str 获取 arc substr
function GetQueryString(param) {
var reg = new RegExp("(^|&)" + param + "=([^&]*)(&|$)", "i");
var r = window.location.search.substr(1).match(reg);
if (r != null) {
return r[2];
}
return null;
}
标签:amp string oca new bst str 获取 arc substr
原文地址:https://www.cnblogs.com/Eeexiang/p/9295679.html