Topic: IE: can't access editor instance functions
im trying to initialize an editor's content the moment the page is loaded. theres only one editor instance.
this is what i'm using:
tinyMCE.execInstanceCommand('mce_editor_0', 'mceInsertContent', false, 'content');
nothing happens in IE though (works fine in FF), and it seems the reason for it is the function can't find the 'mce_editor_0' instance or something like that.
i understand i can't directly do a
because no instance has been selected on page-load, therefore 'setContent()' wouldn't know where to put it. i figured using 'execInstanceCommand' would be the best way.
Any help would be greatly appreciated.