Skip to main content

Bug Tracker

Side navigation

#11255 closed bug (invalid)

Opened January 29, 2012 01:09PM UTC

Closed January 29, 2012 04:53PM UTC

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

Attachments (0)
Change History (3)

Changed January 29, 2012 02:13PM UTC by dmethvin comment:1

owner: → 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)?

Changed January 29, 2012 04:23PM UTC by anonymous comment:2

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.

Changed January 29, 2012 04:53PM UTC by sindresorhus comment:3

component: unfiledevent
priority: undecidedlow
resolution: → invalid
status: newclosed