sweet. thx man..
On Jul 23, 1:10 pm, Jules <jwira...@gmail.com> wrote: > This should work instead of going through all labels. > > $('form').validate({ > errorPlacement: function(error, element) { > $('label[for="' + $(element).attr('id') + > '"]').addClass('error'); > }); > } > }); >