How do I detect IE 8 with jQuery?

前端 未结 12 1403
一生所求
一生所求 2020-11-30 19:14

I need to detect not only the browser type but version as well using jQuery. Mostly I need to find out if it is IE 8 or not.

I am not sure if I am doing it correctly

12条回答
  •  Happy的楠姐
    2020-11-30 19:29

    Don't forget that you can also use HTML to detect IE8.

    
    

    Having that before all your scripts will let you just check the "ie" variable or whatever.

提交回复
热议问题