title: WIndow.onload() not working on IE to hide table rows
body: <pre><code>window.onload = function(e){ 
       cells = document.getElementsByName('assetID');
       for(j = 0; j &lt; cells.length; j++) cells[j].style.display = 'none';
       cellsBMPartNo = document.getElementsByName('BMPartNo');
       for(j = 0; j &lt; cellsBMPartNo.length; j++) cellsBMPartNo[j].style.display = 'none';
       defaultAssetTableValues();
  }
  </code></pre>
  
  <p>I am simply hiding table rows by name. 
  See line 2 and 4 . 
  It works fine in Firefox but does not in IE. 
  Am I missing something ?</p>