Side navigation
#10280 closed bug (duplicate)
Opened September 14, 2011 06:03PM UTC
Closed September 14, 2011 06:40PM UTC
Last modified September 14, 2011 06:40PM UTC
if ($(‘#xyz’).attr(‘checked’)) ... not works correctly anymore
Reported by: | jquery@errox.de | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | attributes | Version: | 1.6.4rc1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
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')