function seteditor(content) {
    tinyMCE.activeEditor.setContent(content);   // Set actual MCE editing text
    tinyMCE.activeEditor.setDirty(true);        // Allow saving this restored text
}
function seteditor(content) {
    tinyMCE.activeEditor.setContent(content);   
    tinyMCE.activeEditor.setDirty(true);        
}
function seteditor ( content ) { tinyMCE . activeEditor . setContent ( content ) ; // Set actual MCE editing text tinyMCE . activeEditor . setDirty ( true ) ; // Allow saving this restored text }
------- For dealing with MCE editor ----------
------- For dealing with MCE editor ----------