Modify ↓
Ticket #9177 (closed bug: invalid)
attr('checked') dont return true
| Reported by: | sven.bloch@… | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 1.next |
| Component: | attributes | Version: | 1.6 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Hey,
in v1.5.1 ('#checkbox').attr('checked') returned true when the checkboy is checkd. In 1.6 i get "checked" as return. I think thats not correct.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

That is correct. The ambiguity between properties and attributes has been removed in 1.6. See the new http://api.jquery.com/prop method and the blog post for more information.