Bug Tracker

Opened 9 years ago

Closed 9 years ago

#9141 closed bug (worksforme)

Error in changing boolean value of attribute

Reported by: anonymous Owned by:
Priority: high Milestone: 1.next
Component: attributes Version: 1.6
Keywords: Cc:
Blocked by: Blocking:

Description

I upgraded form jQuery 1.5.2 to 1.6 and statements like this $('input').attr('disabled', ); is not working now. Matching elements still remains disabled. I have to use false instead of . In previous versions it works.

Change History (2)

comment:1 Changed 9 years ago by anonymous

There should be empty quotes in attr('disabled', !here!) ... bug tracker hide them ...

comment:2 Changed 9 years ago by Rick Waldron

Component: unfiledattributes
Priority: undecidedhigh
Resolution: worksforme
Status: newclosed

As of 1.6 you'll now have to pass

false
Note: See TracTickets for help on using tickets.