basedhttp://net.tutsplus.com/tutorials/javas ... ng-jquery/
var editor = $('.jquery_ckeditor').ckeditorGet();
alert( editor.checkDirty() );
// Get the editor data.
var data = $( 'textarea.editor' ).val(); var messagecontent = $("input#messagecontent").val();
if (messagecontent == "" ) {
$("label#messagecontent_error").show();
$("label#messagecontent").focus();
return false;
}
Re: jQuery to post data without leaving page & textarea?
http://docs.cksource.com/ckeditor_api/s ... ateElement
Re: jQuery to post data without leaving page & textarea?