JQuery Validation Library (Document! X Sample)
onsubmit Option
Validate the form on submit. Set to false to use only other events for validation.
Syntax
var options; // Type:  jQuery.validator.options
var instance; // Type:  jQuery.validator
instance = $(".selector").validate(options);

var value; // Type:  boolean

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