title: Should I use .innerHTML or .value for <textarea>?
body: <p>This is a follow-up of <a href="https://stackoverflow.com/questions/19963781/does-this-not-work-because-i-cant-use-a-script-in-a-div">Does this not work because I can&#39;t use a script in a div?</a></p>
  
  <p>Where I left off, I had this code:<br />
  Button script:</p>
  
  <pre><code>&lt;script&gt;
      var correctProperty = "value";
      function run(){
          document.getElementsByTagName("head")["0"].innerHTML += eval(document.getElementById("editorHead")[correctProperty]);
          document.getElementById("result").innerHTML = eval(document.getElementById("editorBody")[correctProperty]);
      }
  &lt;/script&gt;
  </code></pre>
  
  <p>The textareas (without <code>class</code> and <code>style</code> attributes &amp; in between non-div text):</p>
  
  <pre><code>&lt;textarea id="editorHead" rows="20"&gt;&lt;/textarea&gt;
  &lt;textarea id="editorBody" rows="20"&gt;&lt;/textarea&gt;
  &lt;div id="result"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>Currently this doesn't work, and one of my answers from before (the accepted one) said that <code>correctProperty</code> should be set to <code>"innerHTML"</code>. So should it? Or is the problem an interference with <code>window</code> (like before)? Or, ... should I put it in a form and then use <code>"value"</code>?</p>