wrapper: "li class='error'" would work in one place (where the wrapper
is created), but not in another, where the same option is used as a
selector.

Could you file an issue for thise?
http://plugins.jquery.com/node/add/project-issue/validate

Jörn

On Fri, Jun 12, 2009 at 7:51 AM, Gauthier Segay<gauthier.se...@gmail.com> wrote:
>
> I would like to wrap validation messages in <li class="error"/> with
> validate plugin
>
> is there any event or option I can handle to tweak the element before
> it is appended?
>
> I'm unsure if something like that would look ok:
>
> $('form').validate({wrapper:"li.error"});
>
> or either
>
> $('form').validate({wrapper:"<li class='error'/>"});
>
> Any work around is welcome.
>
> Best regards

Reply via email to