Skip to main content

Bug Tracker

Side navigation

#5758 closed bug (duplicate)

Opened January 05, 2010 04:01PM UTC

Closed November 19, 2010 03:56AM UTC

Last modified November 19, 2010 03:56AM UTC

Manipulation in IE7 drops value of radio buttons

Reported by: Pierre Owned by:
Priority: major Milestone: 1.4
Component: manipulation Version: 1.3.2
Keywords: ie7 manipulation move radio checked value lost Cc:
Blocked by: Blocking:
Description

<html>

<head>

<title>Manipulation in IE7 drops value of radio buttons</title>

<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>

</head>

<body>

<form>

<h1>Manipulation in IE7 drops value of radio buttons</h1>

<p>Instructions : check "female", then click button.</p>

<p>In Firefox, the checked radio is kept -- That's correct.<br />

In IE, the checked radio is lost -- That's the bug.</p>

<button type="button">Click to move both radio buttons down.</button>

<h2>Source</h2>

<div id="source">

<input type="radio" name="sex" value="male" checked="checked" /> Male

<input type="radio" name="sex" value="female" /> Female

</div>

<h2>Target</h2>

<div id="target">

</div>

</form>

<script type="text/javascript">

$(document).ready(function(){

$("button").click(function(){

var source = $("#source");

var target = $("#target");

target.after(source);

/* the same happens also with before, insertAfter, and insertBefore */

});

});

</script>

</body>

</html>

Attachments (1)
  • ie7_radio.html (1.0 KB) - added by Pierre January 05, 2010 04:03PM UTC.

    Demo of the bug (open me in IE7)

Change History (6)

Changed January 05, 2010 04:19PM UTC by Pierre comment:1

Similar to #1095?

Changed January 06, 2010 12:20AM UTC by dmethvin comment:2

Closest open ticket I can find is #3879, most likely it's a similar cause so I'll cross-reference it there.

Changed March 04, 2010 01:56PM UTC by Pierre comment:3

The value of the radio buttons disappear also when performing .wrap() or .unwrap() on their container.

Changed June 13, 2010 11:41PM UTC by dmethvin comment:4

component: unfiledmanipulation

Changed November 19, 2010 03:56AM UTC by snover comment:5

resolution: → duplicate
status: newclosed

Changed November 19, 2010 03:56AM UTC by snover comment:6

Duplicate of #3879.