| jQuery Form Validation before Ajax submit - Stack OverflowJavaScript bit: $(document).ready(function() { $('#form').submit(function(e) { e.preventDefault(); var $form = $(this); ... ... first you don't need to add the classRules explicitly since required is automatically detected by the jquery.validate plugin. s stackoverflow.com |