JQuery Validation Library (Document! X Sample)
jQuery.validator Namespace / options type / highlight Option
In This Topic
    highlight Option
    In This Topic
    How to highlight invalid fields. Override to decide which fields and how to highlight.
    Syntax
    var options; // Type:  jQuery.validator.options
    var instance; // Type:  jQuery.validator
    instance = $(".selector").validate(options);
    
    var value; // Type:  any
    
    // Get value
    value = instance.highlight;
    // Set value
    instance.highlight = value;
    var highlight : any;
    Browser Compatibility
    8
    5
    5
    See Also