if (window.VBArray){
alert("IE");
}
else{
alert("Not IE");
}
是否IE浏览器。IE9后此法失效。
if (window.VBArray){
alert("IE");
}
else{
alert("Not IE");
}