Bug Tracker

Modify

Ticket #10280 (closed bug: duplicate)

Opened 21 months ago

Last modified 20 months ago

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

comment:1 Changed 21 months ago by timmywil

  • Priority changed from undecided to low
  • Resolution set to duplicate
  • Status changed from new to closed
  • Component changed from unfiled to attributes

comment:2 Changed 20 months ago by timmywil

Duplicate of #10278.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.