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

Reference

options type
validate jQuery Plugin

 

 


© 2013 All Rights Reserved.

Send comments on this topic.