Bug Tracker

Opened 10 years ago

Closed 8 years ago

Last modified 8 years ago

#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:
Blocked by: Blocking:

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 (4)

comment:1 Changed 10 years ago by john

Owner: set to john
Status: newassigned

comment:2 Changed 9 years ago by snover

Milestone: 1.4.3

Resetting milestone to future.

comment:3 Changed 9 years ago by danheberden

Milestone: 1.next
Priority: undecided

comment:4 Changed 8 years ago by john

Resolution: worksforme
Status: assignedclosed

This appears to be working now.

Note: See TracTickets for help on using tickets.