Bug Tracker

Modify

Ticket #3693 (closed bug: duplicate)

Opened 3 years ago

Last modified 3 years ago

IE DOMContentLoaded in an iframe

Reported by: zachleat Owned by: brandon
Priority: minor Milestone: 1.3
Component: event Version: 1.2.6
Keywords: Cc: zachleat
Blocking: Blocked by:

Description

jQuery does not properly handle the IE hack for DOMContentLoaded in an iframe, it instead relies on window.onload.

Please see my study of IE hacks for DOMContentLoaded here:  http://www.zachleat.com/web/2008/12/04/domcontentloaded-inconsistencies/

A multi-library test case can be found here:  http://zachleat.com/Projects/domcontentloaded/

I think the document.write defer script method with script.onreadystatechange is the currently accepted method. But certainly that doesn't mean there isn't another solution hiding somewhere.

Change History

comment:1 Changed 3 years ago by flesler

  • Cc zachleat added
  • Status changed from new to closed
  • Resolution set to duplicate

I'm pretty sure we already patched this on trunk (feel free to try it).

We'll have this for 1.3.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.