标签:blog io ar cti div amp new log
//实参:参数名称,返回该参数对应值
function GetQueryStr(name)
{
var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
var r = window.location.search.substr(1).match(reg);
if(r!=null)return unescape(r[2]); return null;
}
地址栏参数获取函数 GetQueryStr(name),布布扣,bubuko.com
标签:blog io ar cti div amp new log
原文地址:http://www.cnblogs.com/liujinyu/p/3896583.html