Я использую форму JKery CKeditor, Jquery и плагина.
CKEDITOR.replace( 'comment-textarea' );
function CKupdate(){
for ( instance in CKEDITOR.instances )
CKEDITOR.instances[instance].updateElement();
}
$(document).ready(function(){
var options = {
success: function (html) {
$('#comments').append(html);
},
clearForm: true
};
$('#formcomments').submit(function() {
CKupdate();
});
$('#formcomments').ajaxForm(options);
});
Я использую clearForm: true , но после отправки формы значение текстового поля Ckeditor не очищается. Как очистить текстовый регистр?