Opened 14 years ago
Closed 14 years ago
#3656 closed bug (invalid)
iframe focus differs in browsers
Reported by: | naugtur | Owned by: | flesler |
---|---|---|---|
Priority: | minor | Milestone: | 1.3 |
Component: | event | Version: | 1.2.6 |
Keywords: | iframe focus | Cc: | naugtur |
Blocked by: | Blocking: |
Description
Problem can be seen when working on linux. Firefox for linux seems to act strange when jquery troggers focus on an iframe in design mode. I went over that with focusing the content window. That works only for firefox.
theEFra=$('#editframe'); iframe
theEFra.get(0).contentWindow.document.designMode = "On"; works for both
theEFra.get(0).contentWindow.focus(); only firefox focuses (tested on ff2 fedora) theEFra.trigger('focus'); only opera focuses (tested on o 9.27 fedora)
and this $(theEFra.get(0).contentWindow).trigger('focus'); works in ff* and the newest opera (not tested on releases between 9.27 and 9.6)
Change History (1)
comment:1 Changed 14 years ago by
Cc: | naugtur added |
---|---|
Component: | unfilled → event |
Resolution: | → invalid |
Status: | new → closed |
I think this is too specific to deserve a special hack in the core.
If you want, do consult this on jQuery's google group and we'll see.