Using JQuery to set CKEditor Value Using JQuery to set CKEditor Value ajax ajax

Using JQuery to set CKEditor Value


After reading this link http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.editor.html#setData, following code work for me.

CKEDITOR.instances.editor1.setData( '<p>This is the editor data.</p>' );


CKEDITOR.instances['IdOfCKEditorTextArea'].setData(value);

where value is like you want set html data