Jquery fail to detect IE 11

前端 未结 4 677
长情又很酷
长情又很酷 2020-11-29 07:18

Just stumbled upon an issue. When trying to detect IE 11 (the beta version currently on air) using Jquery, the result is \'firefox\'. The same code detect IE 10. I need to k

4条回答
  •  旧巷少年郎
    2020-11-29 08:02

    jQuery.browser is long deprecated and has been removed, you should use $.support or a better tool like Modernizr

提交回复
热议问题