Plugins

User login
Can't find a Plugin?

Can't find a Plugin you are looking for? Check out the jQuery Wiki page.

Are you a plugin developer? Please move your plugin over to this site.

Website Bug or Feature Request?

Found a bug on the new jQuery Plugin website? Have a feature request?

Submit it to the jQuery Plugin website issue queue to ensure it is noticed!

"radio" inputs reset to default on drag in IE


Project:Table row drag and drop
Version:0.3
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

When I drag a table row containing radio inputs, they reset to their default value. This only affects IE; Firefox and Safari behave correctly. Here's the example code I'm using:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>jQuery test page: tableDnD</title>
<script src="jquery/jquery.js" type="text/javascript"></script>
<script src="jquery/jquery.tablednd.js" type="text/javascript"></script>
<script type="text/javascript">
$(function(){
  $('#dragtest').tableDnD();
});
</script>
</head>
<body>
<table id="dragtest">
  <tr id="one">
    <td>one</td>
    <td><input type="radio" name="one" value="V" /></td>
    <td><input type="radio" name="one" value="C" /></td>
    <td><input type="radio" name="one" value="N" /></td>
  </tr>
  <tr id="two">
    <td>two</td>
    <td><input type="radio" name="two" value="V" /></td>
    <td><input type="radio" name="two" value="C" /></td>
    <td><input type="radio" name="two" value="N" /></td>
  </tr>
  <tr id="three">
    <td>three</td>
    <td><input type="radio" name="three" value="V" /></td>
    <td><input type="radio" name="three" value="C" /></td>
    <td><input type="radio" name="three" value="N" checked="checked" /></td>
  </tr>
</table>
</body>
</html>