Side navigation
#13369 closed bug (duplicate)
Opened February 01, 2013 01:29PM UTC
Closed February 01, 2013 01:46PM UTC
Set all checkbox checked doesn't work in jquery 1.9.0
Reported by: | alejandro.labra@gmail.com | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.9.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hi,
When you set all checkbox checked using jquery 1.9.0 work the first time, but the next doesn't work.
Now if you change it to jQuery 1.8.3 if it works.
Check here:
JQuery 1.8.3: http://jsfiddle.net/Z7ZuW/
JQuery 1.9.0: http://jsfiddle.net/eD7sU/
Attachments (0)
Change History (1)
Changed February 01, 2013 01:46PM UTC by comment:1
resolution: | → duplicate |
---|---|
status: | new → closed |
Duplicate of #13245.You should be using
.prop
instead of.attr
to interact with the dynamic state of checkboxes: http://jquery.com/upgrade-guide/1.9/#attr-versus-prop-Please use the jQuery migrate plugin to detect other such upgrade issues.