jt_shushu1
2017/2/10 16:38:45
<form action="bb.php" method="post" >
$('form').on('submit', function(event) {
var bba=$(this).validate('submitValidate'); //return boolean(true false);
if(bba==true){
alert('成功');
//$.post({'bb.php'});
}else{
event.preventDefault();
alert('验证失败');
}
});