Jquery or javascript auto click
<p>How can i auto click on the link on page load? i have been trying for ages but id doesn`t work.</p>

<pre><code>&lt;link rel="stylesheet" type="text/css" href="leightbox.css" /&gt;
&lt;script type="text/javascript" src="prototype.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="leightbox.js"&gt;&lt;/script&gt;
&lt;/head&gt;

&lt;body&gt;


&lt;div class="content"&gt;
&lt;p&gt; &lt;a href="#" class="lbOn" rel="pop02"&gt;Click here to activate leightbox popup.&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;



&lt;!----------// POPUP (ON CLICK) //----------&gt;
&lt;div id="pop02" class="leightbox"&gt;
&lt;a href="#" class="lbAction" rel="deactivate"&gt;×&lt;/a&gt;

&lt;div class="scrollbox"&gt;
&lt;h1&gt;This popup loads upon clicking a trigger link.&lt;/h1&gt;
text&lt;/div&gt;
&lt;/div&gt;

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