title: click() (javascript) method is not working in FF
body: <p>The following code is throwing two alerts as expected in IE but not in Firefox. Please help.</p>
  
  <pre><code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&gt;
  &lt;HTML&gt;
   &lt;HEAD&gt;
  
  &lt;SCRIPT LANGUAGE="JavaScript"&gt;
  &lt;!--
      function myFunction(){
          alert('myfunc');
          document.getElementById('mylabel').click();
      }
  //--&gt;
  &lt;/SCRIPT&gt;
  
   &lt;/HEAD&gt;
  
   &lt;BODY&gt;
    &lt;p id='mylabel' onclick="alert('you reached');"&gt;&lt;/p&gt;
  
  
    &lt;input type='button' value="Click me" onclick='myFunction();'/&gt;
   &lt;/BODY&gt;
  &lt;/HTML&gt;
  </code></pre>
  
  <p>Thanks</p>