#4179 closed bug (worksforme)
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");
});
Change History (6)
comment:1 Changed 13 years ago by
Component: | unfiled → event |
---|
comment:2 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:3 Changed 12 years ago by
Milestone: | 1.3.1 |
---|---|
Resolution: | invalid |
Status: | closed → reopened |
comment:4 Changed 12 years ago by
Keywords: | needsreview added |
---|---|
Owner: | set to robing |
Status: | reopened → pending |
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.
comment:5 Changed 12 years ago by
Keywords: | needsreview removed |
---|
comment:6 Changed 12 years ago by
Priority: | major → low |
---|---|
Resolution: | → worksforme |
Status: | pending → closed |
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.
Closing as invalid. Please reopen with a working testcase.