试试下面的代码:
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</HEAD>
<BODY>
<script language=javascript>
function yes()
{
checkbox1.disabled=true;
}
function no()
{
checkbox1.disabled='';
}
</script>
<P><INPUT id=checkbox1 name=checkbox1 type=checkbox></p>
<p><INPUT id=radio1 name=radio1 type=radio onclick="yes()">
<INPUT id=radio2 name=radio2 type=radio onclick="no()"></P>
</BODY>
</HTML>