Jquery not working in IE9 RC

前端 未结 5 1391
一向
一向 2021-02-09 01:52

I have just upgraded to IE9 RC (which i must add isnt too bad an attempt by microsoft, so far, they still have time to mess it up! Please dont comment below on how wonderful

相关标签:
5条回答
  • 2021-02-09 02:22

    In order to use the getElementsById tag, you'll need to use the Release Candidate as this has fixed the issue.

    0 讨论(0)
  • 2021-02-09 02:23

    First off check if some of your code is incorrect in your $(document).ready(). if that all looks fine reload your page and hit F12 click the script tab then click start debugging and it will reload the page and halt it with a break point at your error in javascript.

    jQuery does work in IE9 RC I use it myself for testing.

    However if your doing some thing IE don't support near the top of your $(document).ready() it could be preventing the rest of the page from loading.

    If this is down to console.log there is a good way to prevent IE from haling of console.log:

    if(console == undefined){ console = {log:function(){}}; }
    
    0 讨论(0)
  • 2021-02-09 02:29

    jQuery 1.5 had some troubles with IE9. I switched back to latest 1.4 and works ok.

    0 讨论(0)
  • 2021-02-09 02:36

    http://code.jquery.com/jquery-1.5.1rc1.js

    That should help ;)

    0 讨论(0)
  • 2021-02-09 02:48

    I used IE9 on my laptop at my old job and it worked fine with jquery. And I was just listening in on the jquery dev meeting a couple of days ago and even on that they mentioned that only a couple of test cases fail. You may be having some other issue, maybe a security setting or something.

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