Skip to main content

Bug Tracker

Side navigation

#9141 closed bug (worksforme)

Opened May 06, 2011 07:32AM UTC

Closed May 06, 2011 02:03PM UTC

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.

Attachments (0)
Change History (2)

Changed May 06, 2011 07:35AM UTC by anonymous comment:1

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

Changed May 06, 2011 02:03PM UTC by rwaldron comment:2

component: unfiledattributes
priority: undecidedhigh
resolution: → worksforme
status: newclosed

As of 1.6 you'll now have to pass

false