JQuery Validation Library (Document! X Sample)
jQuery.validator Namespace / options type / errorPlacement Option
In This Topic
    errorPlacement Option
    In This Topic
    Customize placement of created error labels. First argument: The created error label as a jQuery object. Second argument: The invalid element as a jQuery object.
    Syntax
    var options; // Type:  jQuery.validator.options
    var instance; // Type:  jQuery.validator
    instance = $(".selector").validate(options);
    
    var value; // Type:  any
    
    // Get value
    value = instance.errorPlacement;
    // Set value
    instance.errorPlacement = value;
    var errorPlacement : any;
    Browser Compatibility
    8
    5
    5
    See Also