[jQuery] [Validate] Problems with errorPlacement before element
Hi there,
I'm using jQuery's Validate, which works great, but i seem to be
unable to define the place where to place the error message.
Extremely simplified, my form looks like this:
<label for="email">E-mail</label><div class="warn">*</div>
<input type="text" name="email" id="email" value="" />
I'd like my error message to appear inside the div.warn, but i't fix
it like that.
I know i have to use something _like_ the following function, but
don't know exactly how to use it:
errorPlacement: function(error, element) {
}
Any help would be greatly appreciated.
Thanks, Knal