title: Why is this Javascript click function not firing?
body: <pre><code>&lt;input type="file" name="inputFileElement" id="inputFileElement"&gt;
  
  &lt;script type="text/javascript"&gt;
      setTimeout(function() {
          document.getElementById("inputFileElement").click();
      }, 3000);
  &lt;/script&gt;
  </code></pre>
  
  <p>I want to fire click Event after 3s.
  But this is not working...
  It works when <code>setTimeout(..., 300)</code></p>
  
  <p>I do not know what I'm doing wrong.</p>