form 表单
<input class="button" id="alibtnSubmit" name="Submit" type="submit" value="" onclick=" return sub()" /> <script type="text/javascript"> function sub(){ if(“条件判断”) { return false;//返回false不提交表单 }else{ return true;//返回true提交表单 } } </script>