經安全檢測,此網站為安全網站,請放心前往原始網址!

jQuery Form Validation before Ajax submit - Stack Overflow

JavaScript 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

網址安全性掃描由 google 提供