i want to initialize the ckeditor with the text inside the text box. the text property of textbox is set from server. i use the following code to initilize the ckeditor
CKEDITOR.on("instanceLoaded", function () {
var instance = CKEDITOR.instances.editor1;
instance.setData($("#myfield).val());
});
this code work perfect in firefox and ie but in chrome, safari and opera noting happend.