标签:io ar sp on cti bs amp new tt
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]); return null;
}
var paymenttype = GetQueryString("paymenttype");
标签:io ar sp on cti bs amp new tt
原文地址:http://www.cnblogs.com/zhangweixin/p/4070874.html