#13667 closed bug (notabug)
Checkbox not checking in 1.9.1: works with 1.8.3
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.9.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When trying to set checkbox as "checked" inside an event, jQuery 1.9.1 fails. It was working in 1.8.3
See samples below. Click on "all" checkbox twice to see bug.
Jquery 1.9.1: doesn't work http://jsfiddle.net/Cdqrh/4/
Jquery 1.8.3: works http://jsfiddle.net/Cdqrh/3/
Change History (6)
comment:1 Changed 8 years ago by
comment:2 Changed 8 years ago by
Resolution: | → notabug |
---|---|
Status: | new → closed |
"the .prop() method provides a way to explicitly retrieve property values, while .attr() retrieves attributes."
Note: See
TracTickets for help on using
tickets.
Found solution: in 1.9.1 must use "prop" instead of "attr" method. You can close.