Bug Tracker

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#10840 closed bug (invalid)

$("input[type=radio]") also selects checkboxes.

Reported by: [email protected] Owned by: dmethvin
Priority: high Milestone: 1.next
Component: event Version: 1.7
Keywords: Cc:
Blocked by: Blocking:


This bug was found when upgrading from jQuery 1.6.1 to 1.7

Change History (6)

comment:1 Changed 11 years ago by [email protected]

Bug occurs for IE8 and less.

comment:2 Changed 11 years ago by dmethvin

Owner: set to [email protected]
Status: newpending

Works for me in IE7:


Can you reply quickly with a broken test case? Otherwise this won't have any chance of being fixed in 1.7.1.

comment:3 Changed 11 years ago by anonymous

The following example will work in Firefox and Chrome, but not in IE8 and less: http://jsfiddle.net/KUTmS/1/

comment:4 Changed 11 years ago by dmethvin

Component: unfiledevent
Milestone: None1.next
Owner: changed from [email protected] to dmethvin
Priority: undecidedhigh
Status: pendingassigned

Simplified test case: http://jsfiddle.net/KUTmS/6/

comment:5 Changed 11 years ago by timmywil

Resolution: invalid
Status: assignedclosed

It is invalid to give the checkbox the same name as the radios and as you can see, IE no likey. jQuery is not the issue here, but we recommend using http://api.jquery.com/prop to programmatically change the value of 'checked'.


Note: See TracTickets for help on using tickets.