Modify ↓
Ticket #6211 (closed bug: worksforme)
Option tags inhert the "disabled" property of the select box in Chrome & Safari
| Reported by: | erichynds | Owned by: | john |
|---|---|---|---|
| Priority: | undecided | Milestone: | 1.next |
| Component: | selector | Version: | 1.4.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
In Chrome and Safari, option tags inherit the disabled property their parent select. Therefore, $("select option:disabled"); returns ALL option tags if the select box is disabled, even though the disabled attribute of each option is not explicitly set. This is probably the desired behavior.
In FF 2-3.6, IE 6-8, and Opera 10, option tags do not inherit the disabled property.
Test case: http://jsfiddle.net/FBBYE/1/
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.
