hi ,
i have two cute editors, one is editable while other is readonly. Readonly editor is invisible by default so that i can change its visibility at run time. but the problem is that setHtml method not working when ever cute editor is invisible by default. even i have show it before setting html in it.
my code is :
function fFill_ReadonlyEditor(sectionData,Permissions){
$('#readonly_editor').hide();
$('#editable_editor').hide();//*/
var editor ='';
if(Permissions=='yes'){
$('#editable_editor').show();
editor = document.getElementById('CE_Editor1_ID');
}else{
$('#readonly_editor').show();alert('readonly');
editor = document.getElementById('CE_Editor2_ID');
}alert(editor);
editor.setHTML(sectionData);//*/
}