Bug Tracker

Opened 8 years ago

Closed 8 years ago

#9755 closed bug (invalid)

checkbox enabling issue under IE

Reported by: pancheri.damien@… 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

Change History (1)

comment:1 Changed 8 years ago by dmethvin

Resolution: invalid
Status: newclosed

Don't remove the disabled attribute. Instead set the disabled property to false: $("checkbox").prop("disabled", false)

Note: See TracTickets for help on using tickets.