Inserting an element within jQuery Validation plugin's error template
- by simshaun
I'm utilizing the jQuery Validation plugin for my form. It lets you change the errorElement and wrap the errorElement using with the wrapper option. But, I want to insert an element within errorElement like this:
<label class="error"><em></em>Error message goes here</label>
Is there an easy way to accomplish inserting the…