I'm using jquery Validation. I am trying to control where the error message will appear.
How can i do that?
10x
I'm using jquery Validation. I am trying to control where the error message will appear.
How can i do that?
10x
You could use the errorPlacement
method:
$("#myform").validate({
errorPlacement: function(error, element) {
error.appendTo(element.parent("td").next("td"));
}
});