Opened 13 years ago
Closed 12 years ago
#6774 closed bug (fixed)
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/
Change History (4)
comment:1 Changed 12 years ago by
Priority: | → undecided |
---|---|
Resolution: | → invalid |
Status: | new → closed |
comment:2 Changed 12 years ago by
Milestone: | 1.4.3 → 1.5.1 |
---|---|
Priority: | undecided → low |
Resolution: | invalid |
Status: | closed → reopened |
Version: | 1.4.2 → 1.5 |
comment:3 Changed 12 years ago by
Owner: | set to jitter |
---|---|
Status: | reopened → assigned |
comment:4 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
This is a Sizzle bug, I've created a ticket there:
http://github.com/jeresig/sizzle/issues/issue/25