[CODE]<html>
<head>
<title>单选按钮选取</title>
<script language="javascript">
function radioTest_Click()
{
var rTest=document.TestForm.radioTest;
for(var i=0;i<rTest.length;i++)
{
if(rTest[i].checked)
document.TestForm.DispRadioValue.value=rTest[i].value;
}
}
</script>
</head>
<body>
<form name="TestForm" >
<input type="radio" value="radioValue1" name="radioTest" onClick="radioTest_Click();" >单选按钮1
<input type="radio" value="radioValue2" name="radioTest" onClick="radioTest_Click();" >单选按钮2
<input type="radio" value="radioValue3" name="radioTest" onClick="radioTest_Click();" >单选按钮3
<input type="radio" value="radioValue4" name="radioTest" onClick="radioTest_Click();" >单选按钮4
<textarea name="DispRadioValue" ></textarea>
</form>
</body>
</html>[/CODE]