JQuery Validation Library (Document! X Sample)
submitHandler Option
jQuery.validator Namespace > options type : submitHandler Option
Callback for handling the actual submit when the form is valid. Gets the form as the only argument. Replaces the default submit. The right place to submit a form via Ajax after it validated.
Syntax
var options; // Type:  jQuery.validator.options
var instance; // Type:  jQuery.validator
instance = $(".selector").validate(options);

var value; // Type:  any

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

Reference

options type
options Members
validate jQuery Plugin