Skip to main content

Bug Tracker

Side navigation

#6211 closed bug (worksforme)

Opened March 03, 2010 02:35PM UTC

Closed July 11, 2011 09:36PM UTC

Last modified March 14, 2012 02:20AM UTC

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/

Attachments (0)
Change History (4)

Changed March 03, 2010 03:27PM UTC by john comment:1

owner: → john
status: newassigned

Changed November 12, 2010 02:40AM UTC by snover comment:2

milestone: 1.4.3

Resetting milestone to future.

Changed March 31, 2011 12:11AM UTC by danheberden comment:3

milestone: → 1.next
priority: → undecided

Changed July 11, 2011 09:36PM UTC by john comment:4

resolution: → worksforme
status: assignedclosed

This appears to be working now.