<div class="codetitle"> <span><a style="CURSOR: pointer" data="63399" class="copybut" id="copybut63399" onclick="doCopy('code63399')"><u>复制代码</u></a></span> 代码如下:</div> <div class="codebody" id="code63399"> <br><script type="text/javascript"> <BR>function check_check(checkname){ <BR>var flag; <BR>var checks = document.getElementsByName(checkname); <BR>for(var i=0;i<checks.length;i++){ <BR>if(checks[i].checked==true){ <BR>flag = true; <BR>return true; <BR>break; <BR>} <BR>} <BR>if(!flag){ <BR>//alert("请至少选择一项"); <BR>return false; <BR>} <BR>} <BR></script> <br> </div>