title: How to call a javascript function before and after button click event call in asp.net
body: <p>i have created "ButtonClick" function in ASP.NET as following:</p>
  
  <pre><code>&lt;asp:Button ID="btnLogin" runat="server" Text="Login" CssClass="button" CausesValidation="true" onclick="btnLogin_Click"/&gt;
  </code></pre>
  
  <p>i want to know, is it possible to call a javascript function before and after calling asp.net button click function...???</p>
  
  <p>Thanks.</p>