Skip to main content

Bug Tracker

Side navigation

#4179 closed bug (worksforme)

Opened February 18, 2009 05:00AM UTC

Closed November 22, 2010 12:51PM UTC

Last modified March 14, 2012 02:41PM UTC

no focus event in iframe, opera

Reported by: robing Owned by: robing
Priority: low Milestone:
Component: event Version: 1.3.1
Keywords: Cc:
Blocked by: Blocking:
Description

when i focus on a page element in an iframe there is no focus event triggered, the function works in ie8, ff3, safari and chrome but not opera 9.60

var iBody = $("iframe").contents().find("body");

$('.contentEditable', iBody).focus(function () {

alert("hello");

});

Attachments (0)
Change History (6)

Changed June 12, 2010 01:15PM UTC by dmethvin comment:1

component: unfiledevent

Changed October 26, 2010 06:22PM UTC by miketaylr comment:2

resolution: → invalid
status: newclosed

Closing as invalid. Please reopen with a working testcase.

Changed October 26, 2010 08:10PM UTC by miketaylr comment:3

milestone: 1.3.1
resolution: invalid
status: closedreopened

Changed October 26, 2010 08:10PM UTC by miketaylr comment:4

keywords: → needsreview
owner: → robing
status: reopenedpending

Reopening so it doesn't slip through the cracks. Can you test with the latest version of jQuery and provide a working test case? Thanks.

Changed November 05, 2010 02:18AM UTC by dmethvin comment:5

keywords: needsreview

Changed November 22, 2010 12:51PM UTC by jitter comment:6

priority: majorlow
resolution: → worksforme
status: pendingclosed

test case. Works fine for me in Opera 10.63 and jQuery 1.4.4.

@robind Make sure the iframe src isn't on an other domain (cross domain restrictions) and also make sure you wait for the iframe to load before you try binding events to elements therein.