Skip to main content

Bug Tracker

Side navigation

#4465 closed bug (invalid)

Opened April 01, 2009 01:12PM UTC

Closed June 25, 2010 03:22AM UTC

.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@gmail.com
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.

Attachments (0)
Change History (1)

Changed June 25, 2010 03:22AM UTC by dmethvin comment:1

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.