function isIE() { //ie?
if (!!window.ActiveXObject || "ActiveXObject" in window) {
alert("is ie");
return true;
} else {
alert("not ie");
return false;
}
}
isIE();
时间: 2024-09-30 07:21:53
function isIE() { //ie?
if (!!window.ActiveXObject || "ActiveXObject" in window) {
alert("is ie");
return true;
} else {
alert("not ie");
return false;
}
}
isIE();