JQuery Validation Library (Document! X Sample)
jQuery.validator Namespace / options type / invalidHandler Option
In This Topic
    invalidHandler Option
    In This Topic
    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