Bug Tracker

Modify

Ticket #6211 (closed bug: worksforme)

Opened 4 years ago

Last modified 2 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 4 years ago by john

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

comment:2 Changed 3 years ago by snover

  • Milestone 1.4.3 deleted

Resetting milestone to future.

comment:3 Changed 3 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.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.