errorPlacement Option
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
See Also