Bug Tracker

Modify

Ticket #11142 (closed bug: duplicate)

Opened 18 months ago

Last modified 15 months ago

removeAttr for "checked" on radio button removes the attribute from all radio group

Reported by: schaller Owned by:
Priority: high Milestone: None
Component: attributes Version: 1.7.1
Keywords: Cc:
Blocking: Blocked by:

Description

when i call $("#someId").removeAttr("checked") it will remove the checked attribute from other radio buttons that has the same name (not same id) this can be seen here:  http://jsbin.com/azaqoj/edit#javascript,html,live

Change History

comment:1 Changed 18 months ago by timmywil

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

comment:2 Changed 18 months ago by timmywil

Duplicate of #10870.

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.