[CODE]<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>单选按钮提示</title>
<script language="javascript">
function RaTst_Click(index)
{
for(var i=0;i<this.RaSuggest.length;i++)//循环所有提示信息
{
if(i==index)//如果某个单选按钮被选中
this.RaSuggest[i].style.display="block";//显示提示
else
this.RaSuggest[i].style.display="none";//隐藏提示
}
}
</script>
</head>
<body>
<input type="radio" name="RaTst" onClick="RaTst_Click(0);" >单选按钮1<br>
<div id="RaSuggest" style="display:none" >单选按钮1的提示</div>
<input type="radio" name="RaTst" onClick="RaTst_Click(1);" >单选按钮2<br>
<div id="RaSuggest" style="display:none" >单选按钮2的提示</div>
<input type="radio" name="RaTst" onClick="RaTst_Click(2);" >单选按钮3<br>
<div id="RaSuggest" style="display:none" >单选按钮3的提示</div>
</body>
</html>[/CODE]