I want to be clicking on the button automatically
<p>I want to be clicking on the button  automatically</p>

<p>But how?</p>

<p>I tried this but did not succeed</p>

<pre><code> &lt;html&gt;
 &lt;head&gt;

 &lt;script&gt;
 $(function(){
 $("a").click(function(){
alert("hillo");
});
 });

$("a").click();

  &lt;/script&gt;
&lt;/head&gt;

&lt;body&gt;

&lt;a href="http://google.com"&gt;google&lt;/a&gt;


&lt;/body&gt;

&lt;/html&gt;
</code></pre>

<p>This well was used only but also did not succeed</p>

<pre><code>$("a").click();
</code></pre>
