GetParam(name)
function GetParam(name) { var match = new RegExp(name + "=*([^&]+)*", "i").exec(location.search); if (match == null) match = new RegExp(name + "=(.+)", "i").exec(location.search); if (match == null) return null; match = match + ""; //**convert match to a string result = match.split(","); return decodeURIComponent(result[1]); }
"唯有高屋建瓴,方可水到渠成"