hello.
i want to append text to CKEditor on button click. but when value is append some extra spaces are also add to the top of CKEditor text area. code is
var finalvalue="some value want to add in CKEditor."
$("textarea[id*='Description_" + id + "']").val(finalvalue);
i also use this code but it gives an error ""
var areaid = "Description_" + id + "";
CKEDITOR.instances.areaid.setData(finalvalue);
id that i used is dynamic because i have many CKEditor on one page that why dynamic id is used.
please help.