Skip to main content

Bug Tracker

Side navigation

#10840 closed bug (invalid)

Opened November 21, 2011 09:13AM UTC

Closed November 21, 2011 07:35PM UTC

Last modified November 21, 2011 07:36PM UTC

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

Reported by: Owned by: dmethvin
Priority: high Milestone:
Component: event Version: 1.7
Keywords: Cc:
Blocked by: Blocking:

This bug was found when upgrading from jQuery 1.6.1 to 1.7

Attachments (0)
Change History (6)

Changed November 21, 2011 09:32AM UTC by comment:1

Bug occurs for IE8 and less.

Changed November 21, 2011 02:29PM UTC by dmethvin comment:2

owner: →
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.

Changed November 21, 2011 05:49PM UTC by anonymous comment:3

The following example will work in Firefox and Chrome, but not in IE8 and less:

Changed November 21, 2011 07:08PM UTC by dmethvin comment:4

component: unfiledevent
owner: oystein.amundsen@bouvet.nodmethvin
priority: undecidedhigh
status: pendingassigned

Simplified test case:

Changed November 21, 2011 07:35PM UTC by timmywil comment:5

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 to programmatically change the value of 'checked'.

Changed November 21, 2011 07:36PM UTC by timmywil comment:6