JQuery is waiting for images to load before executing document.ready

淺唱寂寞╮ 提交于 2019-11-27 17:58:13

This was due to jQuery bugs #2614 and #3880 - there were definite problems with the ready code in IE in 1.2.6 and in 1.3 - and now a different set of problems in 1.3.1.

A larger discussion can be found here:
http://groups.google.com/group/jquery-dev/browse_thread/thread/3abf45d3fd4d50fc

And the ticket related to the issue can be found here (if you find additional issues with the fix, please re-open the ticket and post to the above jquery-dev thread):
http://dev.jquery.com/ticket/3988

I just landed a fix for this in SVN rev 6170.

I just pushed up a new nightly that you can use until 1.3.2 final comes out:
http://code.jquery.com/nightlies/jquery-2009-01-28.js

Sorry in the delay for getting a fix out - was traveling this week.

There are some things that just can't be unit tested. Just confirmed in IE6+7 and 1.3.1. Holy hell, what a huge regression.

So, do you have time to report this? Just checked and it's not a known bug for 1.3.1.

Tom

Here's an update of the ticket I submitted. It seems as if @Webdawson has attached a sample page to the ticket.

yes i've added an example, its clearly a bug in IE6 & 7 (i havn't tested it in other IE versions). It seems as if the 1.3.1 Version has a lot of bugs. :(

Here is the example link: http://www.kollermedia.at/jquery_bug.html

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!