jquery validation of textarea integrated with ckeditor
问题 I have a text-area <td><textarea id="event-body" name="body"> <p class="error"></p> That is integrated with CKEDITOR CKEDITOR.replace("event-body") And jquery validate plugin. And the code is like this $('#event').validate({ rules:{ name:{ required: true }, }, messages:{ body:{ required: "event body is required" } }, errorPlacement: function(error, element){ $(element).each(function (){ $(this).parent('td').find('p.error').html(error); }) }); The code works just fine but when I type into my