How do I detect IE10 using javascript?

后端 未结 6 1944
离开以前
离开以前 2020-12-14 04:15

As many already posted in other questions (also in jQuery documentation), the old jQuery.browser.version is deprecated and works only in jquery1.3.

Do y

6条回答
  •  眼角桃花
    2020-12-14 04:54

    The jQuery.browser.version still works but you have to include the jquery-migrate plugin.

    http://api.jquery.com/jQuery.browser/ https://github.com/jquery/jquery-migrate/#readme

提交回复
热议问题