jQuery script to click automatically on a link
<p>My current code that i use is this:</p>

<pre><code>&lt;script type="text/javascript"&gt;
$(document).ready(function(){
$('#on_holiday').trigger('click');
});
&lt;/script&gt;
</code></pre>

<p>How ever, this only works when the 'ID' is 'on_holiday' within the input form. I need this to work when I have another element within the form - The current 'ID' is:</p>

<pre><code>&lt;a href="#" data-reveal-id="on_holiday" class="side_link"&gt;Test&lt;/a&gt;
</code></pre>

<p>My problem is when ever I add the element 'ID' to this link, it messes up the data-reveal-id and its cause. I need some sort of jQuery code that can click this link without the  need to put the 'ID' field in.</p>

<p>Many thanks in advance. </p>
