<script type="text/javascript">
function TiJiao() {
if ($("#Texx_Name").val() == "") {
alert(‘请输入学校名称‘);
$("#Texx_Name").focus();
return false;
}
if ($("#Texx_DiQuDaiMa").val() == "") {
alert(‘请选择负责管辖本报名点的市州县‘);
$("#Texx_DiQuDaiMa").focus();
return false;
}
if ($("#Texx_KaoDianDaiMa").val() == "") {
alert(‘请输入学校编号‘);
$("#Texx_KaoDianTongXunDiZhi").focus();
return false;
}
$("#Button").hide();
$("#Tips").show();
}
//全选
function quanxuan(a) {
var cbl = document.getElementById(a);
var input = cbl.getElementsByTagName("input");
for (var i = 0; i < input.length; i++) {
if (input[i].checked == false) {
input[i].checked = true;
}
}
}
//反选
function fanxuan(a) {
var cbl = document.getElementById(a);
var input = cbl.getElementsByTagName("input");
for (var i = 0; i < input.length; i++) {
if (input[i].checked == false) {
input[i].checked = true;
}
else if(input[i].checked == true){
input[i].checked = false;
}
}
}
</script>