Click button server side using JavaScript
<p>I have a JavaScript timer, on time out I am given an alert, after which I have to call a method.
For that I have taken a temporary button and onClick I call the method like this:</p>

<pre><code>__doPostBack('btn','Click');
</code></pre>

<p>But it is going to page load, and not the click event of the button. What is the solution to this?</p>
