标签:blog java cti javascript io div
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]);
}
标签:blog java cti javascript io div
原文地址:http://www.cnblogs.com/sntetwt/p/3830823.html