<form action="" method="post" id="jForm" >
<div class="index_tjtj" id="submit_" ><a href="javascript:void(0)" >提交</a></div>
</form>
js代码
<script type="text/javascript"> $(function () { $("#submit_").on('click',function () { var status=$("#jForm").validate(); if (status.form()){ //验证通过 } //不提交 return false; }) }); </script>