function GetQueryString(name)
{
var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
var r = window.location.search.substr(1).match(reg);
if (r!=null){
return unescape(r[2]);
}
else{
return null;
}
}
var TelNumber=GetQueryString("position");
TelNumber=TelNumber.split(",");//将字符串转化成为数组
时间: 2024-10-11 22:21:28