<form action="" method="post" id="jvForm" > </form>
js代码
<script type="text/javascript"> $(function () { $("#submit_").on('click',function () { var status=$("#jvForm").validate(); if (status.form()){ //验证通过 } }) }); </script>
2024-01-15 13:48:10
<form action="" method="post" id="jvForm" > </form>
js代码
<script type="text/javascript"> $(function () { $("#submit_").on('click',function () { var status=$("#jvForm").validate(); if (status.form()){ //验证通过 } }) }); </script>