日期:2014-05-16 浏览次数:20337 次
<script> function datacheck(){ if(判断条件){ return "yes"; }else{ return "no"; } } function formSubmit(){ if(datacheck() == "yes"){ this.form.submit(); } } </script>
?