title: how to call javascript and codebehind function on one link button click?
body: <p>I want to call javascript function and click method on single asp button click event.
  I was trying with following code.</p>
  
  <pre><code> &lt;asp:LinkButton ID="lbtnSave" runat="server" 
                  OnClientClick="myFunction();"OnClick="lbtnSave_Click"&gt;Save&lt;/asp:LinkButton&gt;--%&gt;
  //javascript
  function myFunction() {}
  
  //code behind method
   protected void lbtnSave_Click(object sender, EventArgs e) {}
  </code></pre>
  
  <p>Thanks in advance.</p>