<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>好东西</title>
<script language="JavaScript">
<!--
function yourf()
{
for (var p=0;p<form1.radiobutton.length;p++){
abcd[p].innerText=form2.hidder[p].value;
abcd1[p].innerText=form2.hidder1[p].value;
}
for (var i=0;i<form1.radiobutton.length;i++){
if (form1.radiobutton[i].checked){
abcd[i].innerHTML="<input type='text' name='aabb' value='"+form2.hidder[i].value+"' onFocus=\"this.value='';\">";
abcd1[i].innerHTML="<input type='text' name='aabb1' value='"+form2.hidder1[i].value+"' onFocus=\"this.value='';\">";
}
}
}
//-->
</script>
</head>
<body>
<form name="form1" method="post" action="">
<table width="200" border="1">
<tr>
<td><input type="radio" name="radiobutton" value="radiobutton" onClick="yourf();"></td>
<td id="abcd">aaaa</td>
<td id="abcd1">aaaa1</td>
</tr>
<tr>
<td><input type="radio" name="radiobutton" value="radiobutton" onClick="yourf();"></td>
<td id="abcd">bbbb</td>
<td id="abcd1">bbbb1</td>
</tr>
<tr>
<td><input name="radiobutton" type="radio" value="radiobutton" onClick="yourf();"></td>
<td id="abcd">cccc</td>
<td id="abcd1">cccc1</td>
</tr>
</table>
</form>
<form name="form2" method="post" action="">
<table width="200" border="0">
<tr>
<td><input type="hidden" name="hidder" value="aaaa"></td>
<td><input type="hidden" name="hidder1" value="aaaa1"></td>
</tr>
<tr>
<td><input type="hidden" name="hidder" value="bbbb"></td>
<td><input type="hidden" name="hidder1" value="bbbb1"></td>
</tr>
<tr>
<td><input type="hidden" name="hidder" value="cccc"></td>
<td><input type="hidden" name="hidder1" value="cccc1"></td>
</tr>
</table>
</form>
<p>
</p>
</body>
</html>