jQuery检测IE浏览器

$(document).ready(function() { 
      if (navigator.userAgent.match(/msie/i) ){ 
  
        alert('I am an old fashioned Internet Explorer'); 
  
      } 
});

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注