Bug Tracker

Opened 14 years ago

Closed 13 years ago

#4465 closed bug (invalid)

.load not fired on iframe in chrome

Reported by: Kus Owned by: brandon
Priority: major Milestone:
Component: event Version: 1.3.2
Keywords: load Cc: [email protected]
Blocked by: Blocking:


$('body').append($('<iframe id="iframe"></iframe>')); $('#iframe').load(function(){alert("loaded");});

Works in IE7 FF2 but not in Google Chrome

Change History (1)

comment:1 Changed 13 years ago by dmethvin

Resolution: invalid
Status: newclosed

You're adding the event after the element, so what if the event fires immediately or doesn't fire because there's no url specified?

A complete test case might help narrow down the problem.

Note: See TracTickets for help on using tickets.