title: Onclick event not working in IE
body: <p>I am making a PHP webpage for database search using JavaScript (search suggest). I used <code>div</code> to show the search suggest items.When the user clicks on this a details page for that item opens. It seems to work fine in Firefox bt it doesnot work on IE.</p>
  
  <p>HTML part:</p>
  
  <pre><code>&lt;form method="post" name="searchform" id="searchform"&gt;    
    &lt;table class="nostyle" width="80%" border="0" cellspacing="0" cellpadding="0"&gt;
      &lt;tr&gt;
      &lt;td width="30%"&gt;Customer  &amp;nbsp;&amp;nbsp;&amp;nbsp;
      &lt;input type="text" name="search_customer" id="customer_name" class="input-text" onKeyUp="searchsuggest();"  autocomplete="off"/&gt;
      &lt;br /&gt;&lt;div id="search_suggest" onclick="document.getElementById('searchform').submit();"&gt; &lt;/div&gt;&lt;/td&gt;
      &lt;/tr&gt;
      &lt;/table&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Please help me, I'm a newbie!</p>