title: Javascript: style.display:'block' doesn't work
body: <p>any idea why this JavaScript just shows "block" and not the content of the (hidden) DIV?</p>
  
  <pre><code>&lt;html&gt;
  &lt;body&gt;
  
  &lt;div id="mydiv" style="display:none"&gt;TEST&lt;/div&gt;
  
  &lt;a href="javascript:document.getElementById('mydiv').style.display='block';"&gt;Show my DIV&lt;/a&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I also tried 'inline' but with the same result.</p>
  
  <p>return false/true also failed.</p>
  
  <p>onclick='' also failed.</p>
  
  <p>I know there is style.visibility etc. but i need none/block.</p>
  
  <p>Also the function should work inside the link, i don't want to call an external JS-function.</p>
  
  <p>Thanks!</p>