JQuery Validation Library (Document! X Sample)
jQuery.validator Namespace / options type / validClass Option
In This Topic
    validClass Option
    In This Topic
    This class is added to an element after it was validated and considered valid.
    Syntax
    var options; // Type:  jQuery.validator.options
    var instance; // Type:  jQuery.validator
    instance = $(".selector").validate(options);
    
    var value; // Type:  string
    
    // Get value
    value = instance.validClass;
    // Set value
    instance.validClass = value;
    var validClass : string;
    Browser Compatibility
    8
    5
    5
    See Also