标签:bsp cti nes ring query location window name reg
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;
}
console.log((GetQueryString("BSUserId")));
var BSID = GetQueryString("BSUserId");
标签:bsp cti nes ring query location window name reg
原文地址:https://www.cnblogs.com/MNCnblogs/p/12965507.html