how can i click a button when site is loaded
<p>PHP : </p>

<pre><code>&lt;script type="text/javascript" src="click.js"&gt;&lt;/script&gt;
&lt;script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"&gt;

&lt;?php

$uret = rand(300000,688255);

    echo 
    '&lt;form action="albo.php" method="post" &gt;
    &lt;input type="text" name="uret" value="'.$uret.'" /&gt;
    &lt;div id="button"&gt;&lt;input type="submit" value="Gonder" /&gt;&lt;/div&gt;

    &lt;/form&gt;';

?&gt;
</code></pre>

<p>click.JS</p>

<pre><code>$(document).ready(function() {
    $('#button').click();
}
</code></pre>

<p>all im trying to do is click that submit button when a.php loads</p>
