title: Convert javascript for IE
body: <p>I have a script that works fine in all browsers that I have tested so far (FF, Safari, camino, Chrome) but not in IE and I can't figure out why.  The IE 8 (windows 7) debug utility highlights this section of the script:</p>
  
  <pre><code>if(list[lineNum].getElementsByClassName("check")[0].getElementsByTagName("a")[0].getAttribute("title").search("Delete")==0)
  </code></pre>
  
  <p>and says:</p>
  
  <blockquote>
    <p>Object doesn't support this property or method</p>
  </blockquote>
  
  <p>I thought perhaps that it might be that IE doesn't like the list array so I added an explicit declaration at the beginning of the script</p>
  
  <pre><code>var list=new Array();
  </code></pre>
  
  <p>but i still get the same error.  </p>
  
  <p>I would really like to get this working on IE and would appreciate any help in doing so.</p>
  
  <p>thanks</p>