Modify ↓
Ticket #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@… |
| Blocking: | Blocked by: |
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
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

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.