Simulate a click with jQuery?
<p>After 5 seconds, I need to simulate a click on a button. </p>

<pre><code>var count = 5;
countdown = setInterval(function () {
    $("#count").html(count);
    if (count == 0) {
        alert("Jotain pitäis tapahtua. kai");
        //What should I put instead of this line?
    }
    count--;
}, 1000);
return false;
</code></pre>

<p>Is it even possible?</p>
