try:
<input type=checkbox name="checkbox1" onclick="control()">
<input type=checkbox name="checkbox2">
<script language=jscript>
function control()
{
   document.all.checkbox2.disabled=true;
   //document.all.checkbox2.readonly;
   return;
}
</script>

解决方案 »

  1.   

    <input type=checkbox onclick="if(this.checked) document.all('p').style.display='none';else document.all('p').style.display=''">
    <input type=checkbox id='p'>
      

  2.   


    <input type="checkbox" name="" onclick="document.all.aaa.disabled=true">
    <input type="checkbox" name="aaa">
      

  3.   

    标准答案<form name="form1" method="post" action="">
      <input type="checkbox" name="checkbox1" value="checkbox" onclick="form1.checkbox2.style.display=(this.checked ? 'none':'inline');">
      <input type="checkbox" name="checkbox2" value="checkbox">
    </form>