Skip to main content

Bug Tracker

Side navigation

#8386 closed bug (duplicate)

Opened February 25, 2011 06:16PM UTC

Closed February 25, 2011 06:36PM UTC

Last modified February 25, 2011 06:36PM UTC

Problem with :focus selector

Reported by: songofchrist@hotmail.com Owned by:
Priority: undecided Milestone: 1.next
Component: unfiled Version: 1.5.1
Keywords: Cc:
Blocked by: Blocking:
Description

No problems in Mozilla based browsers, but particularly in IE 6, this selector fails. For example, if I wanted to remove focus from the item currently having focus I might use the following:

$('input:focus').blur();

This works as expected in Chrome, but in IE produces the error:

'undefined' is null or not an object

Not sure of a simple workaround, so hopefully this can be fixed easily enough. Any ideas?

Attachments (0)
Change History (2)

Changed February 25, 2011 06:36PM UTC by dmethvin comment:1

resolution: → duplicate
status: newclosed

Changed February 25, 2011 06:36PM UTC by dmethvin comment:2

Duplicate of #8105.