title: Auto click on sumbit or onclick
body: <p>how to fire submit button click automatically on page load..</p>
  
  <pre><code>&lt;form id="loginForm" name="loginForm" method="post" action="http://www.streamuj.tv/login"&gt;
                      &lt;input type="text" name="username" value="user" size="22" tabindex="3" id="name" class="logintext"&gt;
                      &lt;input name="password" type="password" value="pass" class="logintext" id="password" tabindex="4" size="22"&gt;
                      &lt;input type="submit" name="action_login" value="Spustit zdarma" onclick="return foo();" /&gt;  
                  &lt;/form&gt;     
  </code></pre>