title: TinyMCE - inserting hidden INPUT tag
body: <p>Really need some help here...I have the following code:</p>
  
  <pre><code>&lt;a href="javascript:;" onmousedown="addMailMergeItem()"&gt;[Insert Item]&lt;/a&gt;
  
  
  &lt;script type="text/javascript"&gt;
  function addMailMergeItem(){
    tinymce.execCommand('mceInsertContent',false,'&lt;input type=\'hidden\' name=\'a\' value=\'1\'/&gt;');
  }
  &lt;/script&gt;
  </code></pre>
  
  <p>However on clicking [Insert Item] the HTML added is: </p>
  
  <pre><code>&lt;P&gt;&lt;INPUT value=1 type=hidden name=a&gt;&lt;/P&gt;
  </code></pre>
  
  <p>which makes the input field visible as the 'hidden' type is not recognised!</p>
  
  <p>How can I amend the execCommand() line to achieve what I am after..?</p>
  
  <p>Tamim.</p>