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

Reference

options type
validate jQuery Plugin

 

 


© 2013 All Rights Reserved.

Send comments on this topic.