title: onclick calling hide-div function not working
body: <p>I've been fighting with this simple piece of code forever. I'm trying to use a <code>&lt;button&gt;</code> to call a simple JavaScript function to hide a <code>&lt;div&gt;</code>.</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;button type="button" onclick="close('wrong')"&gt;OK&lt;/button&gt;
  </code></pre>
  
  <p>JavaScript:</p>
  
  <pre><code>function close(ID)
  {
      document.getElementById(ID).style.display="none";
  }
  </code></pre>
  
  <p>I'm sure it's something really simple, I just can't, for the life of me, find it.</p>