javascript - Move validation message to a new place -


<p class="section requiredtext">some text<br /> <textarea class="title required" id="foo" name="foo"></textarea> </p> 

how jquery validate show "required field" error message on same line "some text" title. tried few things, cant right. lot.

$('form').validate({     errorplacement: function(error, element) {         error.prependto(element.parent());     } }); 

Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -