Tuesday, October 9, 2012

keep a form from posting in jQuery, even within Chrome

This fails in Chrome as it turns out. This offers this hack to make it work in Chrome:

$("#signup_form").validate({
   submitHandler: function(form) {
      alert("Test");
      form.submit();
   }
});

No comments:

Post a Comment