title: Combine and export multiple text areas?
body: <p>I'm a novice at javascript and was wondering if there is any way to combine the contents of several s into a single textarea in a new window?</p>
  
  <p>I have a document in which the user currently has to copy/paste the contents of different textareas individually. I would like them to have the option of clicking a button to generate this.</p>
  
  <p>I looked through this forum and managed to get close using:</p>
  
  <pre><code>&lt;input type="button" value="combine" onclick="document.getElementById('textarea3').value=document.getElementById('textarea2').value+' '+document.getElementById('textarea3').value" /&gt;
  </code></pre>
  
  <p>However, I've only been successful in combining these two textareas to another textarea on the same page. I'm not able to combine this onclick event with a newWindow function to generate a clean page with the intended text.</p>
  
  <p>Thanks!</p>