title: On IE document.getElementsByName won't work
body: <p>I use this code:</p>
  
  <pre><code>&lt;div name="1234"&gt;
     &lt;img src="pic.gif" height="70" width="100" onMouseOver="clear('1234')"&gt;
  &lt;/div&gt; 
  </code></pre>
  
  <p>And:</p>
  
  <pre><code>function clear(element_name){
      document.getElementsByName(element_name)[0].innerHTML="";
  }
  </code></pre>
  
  <p>It does work in Firefox and Opera, but doesn't work in IE 6.0 or IE 8.0, and probably not even in newer IE's.</p>
  
  <p>What to do?</p>