Skip to main content

Bug Tracker

Side navigation

#3008 closed bug (worksforme)

Opened June 09, 2008 12:41PM UTC

Closed November 20, 2010 03:28AM UTC

Ready event not fired from MSIE frame

Reported by: kB Owned by: kB
Priority: minor Milestone: 1.3
Component: event Version: 1.2.6
Keywords: ready not fired Cc:
Blocked by: Blocking:
Description

I've spent some time trying to figure out why the jQuery ready wasn't being fired on my test app. Actually it would fire, once in ten or twenty page reloads.

Test app uses two frames, and loads jquery.js on each of those dynamically (using a hardcoded javascript in HEAD tag).

After a bit of research I found out that setTimeout( "alert($.isReady)", 2000), says "false", and started suspecting jQuery. By looking at the code I found out that changing:

if ( jQuery.browser.msie && window == top )

to

if ( jQuery.browser.msie )

fixes the problem (actually I wrote code that tests if self==top, and doing exactly the same thing as bindReady does for IE, before looking inside the jQuery).

Attachments (0)
Change History (3)

Changed June 10, 2008 08:18PM UTC by flesler comment:1

component: coreevent
owner: → john
priority: majorminor

Changed November 13, 2010 07:21PM UTC by dmethvin comment:2

owner: johnkB
status: newpending

This may have been fixed; please provide a test case.

Changed November 20, 2010 03:28AM UTC by addyosmani comment:3

resolution: → worksforme
status: pendingclosed

Given the age of this ticket and my opinion that the issue experienced sounds a lot like it was down to the implementation being used rather than a jQuery core issue, I am closing on the grounds that this isn't a core bug. If the original ticket submitter would like to re-open with a valid test case they may do so and we'll re-investigate at that point.