title: jEditable: pass TinyMCE content back to textarea
body: <p>Hi I have a mix of tinyMCE jquery plugin and jeditable on a textarea. When the editable element is clicked it is turned into a tinymce iframe. Now I need to pass the iframe content back to the textarea using tinymce.triggerSave() BEFORE the form is ajaxed.</p>
  
  <p>Anyone any idea?</p>
  
  <pre><code>    function editNote(){
      $('.edit').editable('&lt;?php echo base_url(); ?&gt;index.php/notes/edit', {
           type      : 'textarea',
           onblur    : 'ignore',
           cancel    : 'Cancel',
           submit    : 'OK',
           indicator : "&lt;img src='&lt;?php echo base_url(); ?&gt;css/images/indicator.gif'&gt;",
           tooltip   : 'Click to edit...'
  
       });
   }
  
   $('.edit').live('click', function(){
      editNote();
      $('textarea').tinymce({
                      // Location of TinyMCE script
                      script_url : '&lt;?php echo base_url(); ?&gt;js/tiny_mce/tiny_mce.js',
  
                      // General options
                      theme : "simple"
  });
  });
  </code></pre>
  
  <p>The code above calls the editNote function and then the tinymce js. </p>
  
  <p>I'm looking for a way to run tinyMCE.triggerSave(); BEFORE the jeditable form is submitted. So something like the opposite of callback.</p>
  
  <p>Thanks,</p>
  
  <p>Billy</p>