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: | oystein.amundsen@bouvet.no | Owned by: | dmethvin |
---|---|---|---|
Priority: | high | Milestone: | 1.next |
Component: | event | Version: | 1.7 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
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
Changed November 21, 2011 02:29PM UTC by comment:2
owner: | → oystein.amundsen@bouvet.no |
---|---|
status: | new → pending |
Works for me in IE7:
http://jsfiddle.net/dmethvin/ktWbC/
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 comment:3
The following example will work in Firefox and Chrome, but not in IE8 and less: http://jsfiddle.net/KUTmS/1/
Changed November 21, 2011 07:08PM UTC by comment:4
component: | unfiled → event |
---|---|
milestone: | None → 1.next |
owner: | oystein.amundsen@bouvet.no → dmethvin |
priority: | undecided → high |
status: | pending → assigned |
Simplified test case: http://jsfiddle.net/KUTmS/6/
Changed November 21, 2011 07:35PM UTC by comment:5
resolution: | → invalid |
---|---|
status: | assigned → closed |
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'.
Changed November 21, 2011 07:36PM UTC by comment:6
With prop: http://jsfiddle.net/timmywil/KUTmS/13/
Bug occurs for IE8 and less.