I want jQuery validator to add a class to the form element's parent
- by Eystein
How do I use jQuery validator to add/remove a classname (e.g. validate) on the form element's parent <li> so I can style everything related to that element by only setting the one classname?
The markup is
<li class="validate">
<label for="product">Product of interest <abbr title="Required…