errorPlacement: function (error, element) {
$('#div').append(error.html());
}
I want to append a list of errors within a div in my webpage upon calling this function. Right now I am just calling error.html() which is giving me the whole list of errors listed within the messages function concatenated together.
Ex in the div:
Title is requiredNumber of words must be between 50 and 65Picture is Required
I can provide more code if needed.