Bug Tracker

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#9734 closed bug (invalid)

":enabled" works in Firefox but not in IE7

Reported by: [email protected] Owned by:
Priority: high Milestone: 1.next
Component: selector Version: 1.6.1
Keywords: Cc:
Blocked by: Blocking:


In IE7, the whole body background changed the color.

<script type="text/javascript" src="jquery-1.6.1.js"></script>
<script type="text/javascript">

<form action="">
Name: <input type="text" name="user" />
<br />
ID:<input type="text" name="id" disabled="disabled" />
<select disabled="disabled">
<input type="submit" />


Change History (4)

comment:1 Changed 12 years ago by timmywil

Component: unfiledsupport
Priority: undecidedhigh
Status: newopen

Confirmed, but in the meantime I suggest using a tagName with filters, such as

$('input:enabled, select:enabled')

This is more performant and has the advantage of not affecting elements that do not have a disabled property.

comment:3 Changed 12 years ago by john

Resolution: invalid
Status: openclosed

I agree with timmywil, you should really limit this to just the specific elements that you want highlighted.

comment:4 Changed 12 years ago by john

Component: supportselector
Note: See TracTickets for help on using tickets.