Skip to main content

Bug Tracker

Side navigation

#9629 closed bug (invalid)

Opened June 20, 2011 11:31PM UTC

Closed July 06, 2011 08:04AM UTC

Last modified April 17, 2013 12:03AM UTC

Cloning a radio button

Reported by: Nik Owned by: Nik
Priority: low Milestone:
Component: manipulation Version: 1.6.1
Keywords: Cc:
Blocked by: Blocking:

1.4.2, 1.6.1.

A primary radio button element loses a "checked" attribute. In GH clone also loses it.

FF 3.6.17, GH, Opera 9.64 - fail.

IE6 - success.

<!DOCTYPE html>



<script src=""></script>

<script type="text/javascript">



var newRadio = $('input:eq(0)').clone();








<input type="radio" checked="checked" name="test"/>

<button name="clone1">Clone Radio Button</button>




Attachments (0)
Change History (6)

Changed June 21, 2011 03:36PM UTC by rwaldron comment:1

component: unfiledmanipulation
owner: → Nik
priority: undecidedlow
status: newpending

Thanks for taking the time to contribute to the jQuery project! Please provide a reduced jsFiddle test case to help us assess your ticket!

Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, I've created this boilerplate: Open the link and click to "Fork" in the top menu.

Changed July 06, 2011 08:04AM UTC by trac-o-bot comment:2

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Changed September 11, 2012 01:35PM UTC by comment:3

This remains an issue in 1.8.1

Changed September 11, 2012 01:37PM UTC by dmethvin comment:4

Yet we still don't have a test case. Can you provide one please, and let us know which browsers didn't work as expected?

Changed December 12, 2012 05:04PM UTC by anonymous comment:5

Changed April 17, 2013 12:03AM UTC by m_gol comment:6

This is correct behavior. Since those checkboxes belong to the same "group" (i.e. share the same name attribute), only one of them is allowed to be selected. IE6 is wrong here.