JQuery Validation
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 = jQuery(".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

Reference

options type
validate jQuery Plugin

 

 


© 2013 All Rights Reserved.

Send comments on this topic.