Opened 12 years ago
Closed 12 years ago
#9755 closed bug (invalid)
checkbox enabling issue under IE
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | 1.next |
Component: | unfiled | Version: | 1.6.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hello,
I have a page in which there are several checkboxes. They can be disabled or enabled all at a time by clicking on another checkbox.
It works fine with the jquery 1.4.2. With jquery 1.6.2, it fails when I use
$("#mychkbox").change(function(){ $("#checkboxes").removeAttr('disabled'); });
I noticed this weird behaviour under IE8. It works fine under Chrome and FF 3.6
Maybe I do something wrong?
Hope this helps.
Dams
Note: See
TracTickets for help on using
tickets.
Don't remove the
disabled
attribute. Instead set thedisabled
property tofalse
:$("checkbox").prop("disabled", false)