代码可以实现,但很烂,那位大虾帮忙改一下,顺便散分
<script language="javascript">
function ChgStatus1(){
opcontent1.checked=false;
opcontent2.checked=false;
opcontent3.checked=false;
opcontent4.checked=false;
opcontent1.disabled=true;
opcontent2.disabled=true;
opcontent3.disabled=true;
opcontent4.disabled=true;
opcontent5.disabled=false;
opcontent6.disabled=false;
opcontent7.disabled=false;
opcontent8.disabled=false;
}
function ChgStatus2(){
opcontent5.checked=false;
opcontent6.checked=false;
opcontent7.checked=false;
opcontent8.checked=false;
opcontent5.disabled=true;
opcontent6.disabled=true;
opcontent7.disabled=true;
opcontent8.disabled=true;
opcontent1.disabled=false;
opcontent2.disabled=false;
opcontent3.disabled=false;
opcontent4.disabled=false;
}
function ChgStatus3(){
opcontent1.checked=false;
opcontent2.checked=false;
opcontent3.checked=false;
opcontent4.checked=false;
opcontent5.checked=false;
opcontent6.checked=false;
opcontent7.checked=false;
opcontent8.checked=false;
opcontent1.disabled=true;
opcontent2.disabled=true;
opcontent3.disabled=true;
opcontent4.disabled=true;
opcontent5.disabled=true;
opcontent6.disabled=true;
opcontent7.disabled=true;
opcontent8.disabled=true;
}
</script>
<input type="radio" class="radio" size="10" name="cfcf" id="cfyou" onclick="ChgStatus1();"></input>
<input type="checkbox" class="checkbox" name="opcontent1" value="1" id="opcontent">
<input type="checkbox" class="checkbox" name="opcontent2" value="2" id="opcontent">
<input type="checkbox" class="checkbox" name="opcontent3" value="3" id="opcontent">
<input type="checkbox" class="checkbox" name="opcontent4" value="4" id="opcontent">
<input type="radio" class="radio" size="10" name="cfcf" id="cfwu" onclick="ChgStatus2();"></input>
<input type="checkbox" class="checkbox" name="opcontent5" value="5" id="opcontent">
<input type="checkbox" class="checkbox" name="opcontent6" value="6" id="opcontent">
<input type="checkbox" class="checkbox" name="opcontent7" value="7" id="opcontent">
<input type="checkbox" class="checkbox" name="opcontent8" value="8" id="opcontent">
<input type="radio" class="radio" size="10" name="cfcf" id="cfwu" onclick="ChgStatus3();"></input>