Bug Tracker

Opened 12 years ago

Closed 12 years ago

#9755 closed bug (invalid)

checkbox enabling issue under IE

Reported by: [email protected] 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 12 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.