Side navigation
#6774 closed bug (fixed)
Opened July 07, 2010 09:03PM UTC
Closed February 17, 2011 03:53PM UTC
Calling is(":selected") on detached option tags fails
Reported by: | ehynds | Owned by: | jitter |
---|---|---|---|
Priority: | low | Milestone: | 1.5.1 |
Component: | traversing | Version: | 1.5 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Trying to determine the selected state of an option tag with is(":selected"), after said option tag has been detach()'d, throws an elem.parentNode is null (FF) / Cannot read property 'selectedIndex' of null (webkit) error.
Test case: http://jsfiddle.net/ehynds/trDpZ/3/
Attachments (0)
Change History (4)
Changed September 30, 2010 01:35AM UTC by comment:1
priority: | → undecided |
---|---|
resolution: | → invalid |
status: | new → closed |
Changed February 17, 2011 03:52PM UTC by comment:2
milestone: | 1.4.3 → 1.5.1 |
---|---|
priority: | undecided → low |
resolution: | invalid |
status: | closed → reopened |
version: | 1.4.2 → 1.5 |
Changed February 17, 2011 03:53PM UTC by comment:3
owner: | → jitter |
---|---|
status: | reopened → assigned |
Changed February 17, 2011 03:53PM UTC by comment:4
resolution: | → fixed |
---|---|
status: | assigned → closed |
This is a Sizzle bug, I've created a ticket there:
http://github.com/jeresig/sizzle/issues/issue/25