JQuery Validation Library (Document! X Sample)
jQuery.validator Namespace / options type / wrapper Option
In This Topic
    wrapper Option
    In This Topic
    Wrap error labels with the specified element. Useful in combination with errorLabelContainer to create a list of error messages.
    Syntax
    var options; // Type:  jQuery.validator.options
    var instance; // Type:  jQuery.validator
    instance = $(".selector").validate(options);
    
    var value; // Type:  string
    
    // Get value
    value = instance.wrapper;
    // Set value
    instance.wrapper = value;
    var wrapper : string;
    Browser Compatibility
    8
    5
    5
    See Also