/^true$/i.test("false");
false
/^true$/i.test("true");
true
//获取请求参数的值
function Request(argname) {
var url = document.location.href;
var arrStr = url.substring(url.indexOf("?") + 1).split("&");
for (var i = 0; i < arrStr.length; i++) {
var loc = arrStr[i].indexOf(argname + "=");
if (loc != -1) {
return arrStr[i].replace(argname + "=", "").replace("?", "");
break;
}
}
return "";
}