How to call javascript function and code behind using button
<p>How to call javascript function and code behind function using button?</p>

<pre><code>&lt;asp:button id="btnSave" onclick="btnSave();" onclientclick ="return javascriptfunction();" runat="server"&gt;

&lt;/asp:button&gt;
</code></pre>

<p>I tried like this too. but no response.</p>

<pre><code>&lt;asp:button id="btnSave" onclick="btnSave();" onclientclick ="return true;" runat="server"&gt;

&lt;/asp:button&gt;
</code></pre>

<p>even, javascript function return true, its not calling codebehind function. May i know reason?</p>
