JQuery Validation Library (Document! X Sample)
groups Option
Specify grouping of error messages. A group consists of an arbitrary group name as the key and a space separated list of element names as the value. Use errorPlacement to control where the group message is placed.
Syntax
var options; // Type:  jQuery.validator.options
var instance; // Type:  jQuery.validator
instance = $(".selector").validate(options);

var value; // Type:  any

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