Insert title here $(function(){ var check = 1; $("#myForm").submit(function(e){ //取消默认提交事件 //e.preventDefault(); if(check == 1){ console.log("验证通过,提交数据"); $(this).ajaxSubmit({ type: 'post', // 提交方式 get/pos...