function getQueryString(name) {
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
var r = window.location.search.substr(1).match(reg);
if (r != null) return unescape(r[2]); returnnull;
}
posted on
2019-01-23 10:09coffee
阅读(181)
评论(0)
编辑收藏举报