I need to block other events from firing on a form submission from
within the validate plugin's invalidHandler function. I'd like to call
stopImmediatePropagation on the current event, but I don't know how to
access that event. Here is a sample of the code I have:

$(document).ready(function() {
  $("#myform").validate{
    invalidHandler: function(form, validator) {
      // get current event and prevent it from propagating
      event.stopImmediatePropagation();
    }
  }
}

Accidentally submitted this before I finished adding the code snippet.
Sorry for the double submission.

Reply via email to