Bug Tracker

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:


$("#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 dmethvin

Owner: set to anonymous
Status: newpending

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)?

comment:2 Changed 11 years ago by anonymous

Status: pendingnew

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 sindresorhus

Component: unfiledevent
Priority: undecidedlow
Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.