#10840 closed bug (invalid)
$("input[type=radio]") also selects checkboxes.
Reported by: | 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
Change History (6)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Owner: | set to [email protected]… |
---|---|
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.
comment:3 Changed 11 years ago by
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
Component: | unfiled → event |
---|---|
Milestone: | None → 1.next |
Owner: | changed from [email protected]… to dmethvin |
Priority: | undecided → high |
Status: | pending → assigned |
Simplified test case: http://jsfiddle.net/KUTmS/6/
comment:5 Changed 11 years ago by
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'.
Note: See
TracTickets for help on using
tickets.
Bug occurs for IE8 and less.