Bug Tracker

Ticket #6211 (closed bug: worksforme)

Opened 5 years ago

Last modified 3 years ago

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

comment:1 Changed 5 years ago by john

  • Owner set to john
  • Status changed from new to assigned

comment:2 Changed 4 years ago by snover

  • Milestone 1.4.3 deleted

Resetting milestone to future.

comment:3 Changed 4 years ago by danheberden

  • Priority set to undecided
  • Milestone set to 1.next

comment:4 Changed 3 years ago by john

  • Status changed from assigned to closed
  • Resolution set to worksforme

This appears to be working now.

Note: See TracTickets for help on using tickets.