JQuery Validation Library (Document! X Sample)
jQuery.validator Namespace > options type : invalidHandler Option
invalidHandler Option
Callback for custom code when an invalid form is submitted. Called with a event object as the first argument, and the validator as the second.
Syntax
var options; // Type:  jQuery.validator.options
var instance; // Type:  jQuery.validator
instance = $(".selector").validate(options);

var value; // Type:  any

// Get value
value = instance.invalidHandler;
// Set value
instance.invalidHandler = value;
var invalidHandler : any;
Browser Compatibility
8
5
5
See Also