日期:2014-05-16 浏览次数:20353 次
function chkNum(){ var appcount = $("#appcount").val(); var intencount = $("#intencount").val(); var unemployment = $("#unemployment").val(); if(appcount == null || appcount == ""){ alert("应聘人数不能为空!"); return false; } if(intencount == null || intencount == ""){ alert("初步达成录用人数不能为空!"); return false; } if(intencount < appcount ){ alert("初步达成录用人数应小于企业应聘人数!"); $("#intencount").val(""); return false; } if(unemployment > appcount){ alert("其中失业人数应小于企业应聘人数!"); $("#unemployment").val(""); return false; } };
function chkNum(){ var appcount = $("#appcount").val(); var intencount = $("#intencount").val(); var unemployment = $("#unemployment").val(); if(appcount == null || appcount == ""){ alert("应聘人数不能为空!"); return false; } if(intencount == null || intencount == ""){ alert("初步达成录用人数不能为空!"); return false; } if(eval(intencount) > eval(appcount) ){ alert("初步达成录用人数应小于企业应聘人数!"); $("#intencount").val(""); return false; } if( eval(unemployment) > eval(appcount)){ alert("其中失业人数应小于企业应聘人数!"); $("#unemployment").val(""); return false; } };