title: Click() works in IE but not Firefox
body: <p>I have code which is trivial but only works in IE not Firefox.</p>
  
  <pre><code>$(document).ready(function(){
      $('li#first').click();
  });
  </code></pre>
  
  <p>I have also tried:</p>
  
  <pre><code>document.getElementById('first').click();
  </code></pre>
  
  <p>But that doesn't work either.</p>
  
  <p>Is this an IE bug/feature or is <code>click()</code> not supported in the other browsers?</p>
  
  <p>Responding to comments:</p>
  
  <ol>
  <li>There is a single element with ID
  first, no more. </li>
  <li>It is an onclick on the list element that expands the element and moves focus on a  Google Map element.</li>
  <li>Running the code in patrick's response (adding another click event to the element) produced some interesting behaviour. When running <code>$('li#first').click()</code> only the new event fired, but physically clicking the element with the mouse fired both (new and original).</li>
  </ol>
  
  <p>Thanks in advance.</p>