[jQuery] [validate] Validation Plugin issue when using TinyMCE
Hello,
I have the following rules:
$("#New").validate({
errorClass: "Error",
errorElement: "label",
rules: {Answer: {required: true}},
});
Applied to text area:
<label for="Answer" class="Required">Resposta</label>
<textarea name="Answer" rows="10" cols="20" id="Answer"></
textarea>
This works fine. The error labels shows after the TextArea.
The moment I use TinyMCE (http://tinymce.moxiecode.com/) to make the
Text Area an HTML WYSIWYG editor I get a problem:
The error label shows before the text area and after the label!
Any idea what might be wrong? How can I solve this?
Thanks,
Miguel