Everytime a page loads I need to load text into the CK Editor using JQuery, in order to get data from CK Editor I use
var editor_data = CKEDITOR.instances[\'
var jqxhr = $.get( "file.php", function(data) { CKEDITOR.instances.idOftextAreaName.setData( data ); alert( "success" ); }) .done(function() { //alert( "second success" ); }) .fail(function() { alert( "error" ); }) .always(function() { // alert( "finished" ); });