title: set content in dynamically loaded tinyMCE editor
body: <p>I have webpage (index.pl), in it's <strong>div</strong> (id = 'right') i have dynamically loaded a page(editor.pl) containing  <strong>textarea</strong>.To change this textarea as <strong>TinyMce editor</strong> I have dyanamically loaded a js file (include_tiny_mce.js) which has tinyMce.init() function as below : <br/></p>
  
  <pre><code>$.ajax({
      type:'POST',
      url:'editor.pl',
      success:function(msg){
      $("#right").html(msg);
      $("head").append("&lt;script src='/include_tiny_mce.js'&gt;&lt;/script&gt;&lt;script src='/scripts.js'&gt;&lt;/script&gt;");
  
      },
  </code></pre>
  
  <p>Now all this is working fine and all textareas are changed to tinyMce but when I am using <br/><code>tinyMCE.activeEditor.setContent("hello world");</code><br/> from a js file (script.js, already included in index.pl) to set content in tinyMce it is not showing the content.
  Anyone can tell me the solution for this ?</p>