Bug Tracker

Opened 11 years ago

Closed 10 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: blakekus@…
Blocked by: Blocking:

Description

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

Works in IE7 FF2 but not in Google Chrome 1.0.154.53.

Change History (1)

comment:1 Changed 10 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.