title: TinyMCE Custom Button Press Question
body: <p>I'm using TinyMCE and want to execute a php script get the output and post the output.<br>
  I'm trying to insert my code with data pre-populated by a php script.</p>
  
  <p>Can someone help me with this.  I'm a JavaScript novice..</p>
  
  <p>This is my code to insert single instances without data.  (The rest of the code is straight from the example on the documentation api)</p>
  
  <pre><code>///////////////////////////////////////////////////////////////////////////////
              ed.addCommand('mceCommandHere', function() {
              ed.execCommand('mceInsertContent',false,'[CODEHERE ="" URL ="" Title=""]'); 
              });
              ed.addButton('CommandHere', {
                  title : 'Add Subscriptions',
                  cmd : 'mceCommandHere',
                  image : url + '/PictureHere.png'
              });
              ed.onNodeChange.add(function(ed, cm, n) {
                  cm.setActive('CommandHere', n.nodeName == 'IMG');
              });
              ///////////////////////////////////////////////////////////////////////////////
  </code></pre>