JQuery Validation Library (Document! X Sample)
errorClass Option
Use this class to create error labels, to look for existing error labels and to add it to invalid elements.
Syntax
var options; // Type:  jQuery.validator.options
var instance; // Type:  jQuery.validator
instance = $(".selector").validate(options);

var value; // Type:  string

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