Detect Internet Explorer 6 or below in jQuery

前端 未结 13 2387
野的像风
野的像风 2020-12-12 17:44

I\'m new to jquery and was wondering: is a simple way to detect whether a browser is Internet Explorer 6 or below?

相关标签:
13条回答
  • 2020-12-12 18:40

    http://docs.jquery.com/Utilities/jQuery.browser.version is how

    EDITED: Corrected link from Douglas

    http://api.jquery.com/jQuery.browser/#jQuery.browser.version

    I mean, if you had the old version not the latest 1.3...

    Also, another good point is that with JQuery, you are not supposed to worry about the version. JQuery does feature testing and handles all that malarky for you. Worrying about versions and platforms is pretty 1999

    0 讨论(0)
提交回复
热议问题