标签:io ar java for on cti as javascript return
<script language="javascript">
function test(countall) {
var eles=document.getElementsByName(‘tea‘);
var j=0;
for (var i=0;i<eles.length;i++){
if(eles[i].checked) j++;
}
if (j!=countall*2){
alert(‘请选择‘+countall*2+‘个教师来监考‘);
return false;
}
return true;
}
</script>
标签:io ar java for on cti as javascript return
原文地址:http://www.cnblogs.com/chengzi123/p/4129543.html