Modify ↓
Ticket #10280 (closed bug: duplicate)
if ($(‘#xyz’).attr(‘checked’)) ... not works correctly anymore
| Reported by: | jquery@… | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | None |
| Component: | attributes | Version: | 1.6.4rc1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
There is a new bug in this version (1.6.2 is ok):
$('#xyz').attr('checked')
always returns 'checked' (input tag with type 'checkbox')
the following workaround still works: $('#xyz').is(':checked')
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.
