I have a jQuery modal dialog, which is loaded by AJAX call. There is one textarea, however I cannot convert it to tinyMCE editor.
tried
tinyMCE.execCommand('mceAddControl', false, 'Text')
$('textarea').tinymce(...)
all works great if textarea is created from normal call. (I suspect there is something about DOM)
plz call
$('textarea').tinymce(...)
after you add textarea to the DOM hierarchy