Is this regarding the usage of the Validation plug-in?

On Apr 22, 8:56 am, Tony <tonysteph...@gmail.com> wrote:
> I want my error to appear as it is, but I also want to add a class the
> <li> the form element is in.
>
> I can do this via :
> errorPlacement: function(error, element){
>     element.parents('li').addClass('error');
>     },
>
> but I can't figure out how to make the class go away when the error is
> cleared.
>
> (basically I want the error message to popup, but I want to highlight
> the row the form element is in, and want the highlight to go away when
> the error is fixed.)
>
> What am I missing?
>
> Thanks.
> Tony

Reply via email to