Opened 11 years ago
Closed 11 years ago
#11255 closed bug (invalid)
Focus does not work on latest FF and Chrome
Reported by: | anonymous | Owned by: | anonymous |
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | event | Version: | 1.7.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
$("#text").focus() does not work on FF 9 & latest Chrome, this might be browser issue (document.getElementById("text").focus() does not work also).
Change History (3)
comment:1 Changed 11 years ago by
Owner: | set to anonymous |
---|---|
Status: | new → pending |
comment:2 Changed 11 years ago by
Status: | pending → new |
---|
I'm sorry, it's my bad. I tested in Firebug It works fine if I set it in a click link or a click button event.
comment:3 Changed 11 years ago by
Component: | unfiled → event |
---|---|
Priority: | undecided → low |
Resolution: | → invalid |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Can you provide a test case in jsFiddle that explains what you mean by "does not work"? Does it fire a "focus" event? Does it focus the element? Is the element focusable (e.g., a visible form element or any visible element with
tabIndex
set)?