title: Set focus onload of TinyMce editor
body: <p>When click on edit button it displays tinymce text editor but the problem is it does not set focus on first load of editor from second onward it work fine</p>
  
  <p>Below is what i have tried</p>
  
  <p>HTML</p>
  
  <pre><code>&lt;h3&gt;History Review &lt;a href="#" class="blue_edit_btn" id="history_review_link" onclick="bgshoweditor('history_review')" &gt;Edit&lt;/a&gt;&lt;/h3&gt;
  </code></pre>
  
  <p>JQuery</p>
  
  <pre><code>function bgshoweditor(editorid)
  {
  
      $("#"+editorid+"_div").hide();
      $("#"+editorid).show(); 
      tinyMCE.execCommand('mceRemoveControl', false, editorid );
      tinyMCE.execCommand('mceAddControl', true, editorid );
      tinyMCE.execCommand('mceFocus', false, editorid );      
      tinyMCE.activeEditor.selection.select(tinyMCE.activeEditor.getBody(), true);
      tinyMCE.activeEditor.selection.collapse(false); 
  }
  </code></pre>