title: How to get onclick button to show text in input box
body: <p>I was having this problem with a more complex chunk of code, so I started messing with a html "joke" with the movie The Seven, and realized it was the same problem. Why doesn't it do anything when I click the button? I've tried it adding a function and script as well, get same problem. I want it to show the text inside the (formerly blank) input box when you click the button.</p>
  
  <pre><code>&lt;html&gt;
  &lt;body&gt;
  The Box:&lt;input type="text" id="thebox" value="" size=10&gt;
  &lt;br&gt;&lt;input type="button" value="What's in the booooox?" onclick="document.getElementById('thebox').innerHTML='head of gwyneth paltrow';"&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>