日期:2014-05-16 浏览次数:20351 次
? var isNotEvaluated = false;
?$('.sel').each(function(index){
??alert($(this).val()));
??if($(this).val() == ''){
?? isNotEvaluated = true;
?? return false;? //?跳出循环
??}
? }
?);
?
?if(isNotEvaluated){
??? alert('请完成日常评价!');
??? return;
?}
?
?
?
<div class='sel'>
</div>