Jquery not working in IE9 RC

前端 未结 5 1395
一向
一向 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: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(){}}; }
    

提交回复
热议问题