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

Reference

options type
validate jQuery Plugin

 

 


© 2013 All Rights Reserved.

Send comments on this topic.