标签:blog io ar div cti log amp on c
function GetParameterValueByName(parametername) { var reg = new RegExp("(^|&)" + parametername + "=([^&]*)(&|$)"); var r = window.location.search.substr(1).match(reg); if (r != null) return unescape(r[2]); return null; }
标签:blog io ar div cti log amp on c
原文地址:http://www.cnblogs.com/objectboy/p/3949009.html