title: How to pass textbox value to java script on button click event
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/765205/how-to-pass-text-in-a-textbox-to-javascript-function">How to pass text in a textbox to javascript function?</a>  </p>
  </blockquote>
  
  
  
  <p>I need to pass the text box value as parameter of javascript method which will be fired on button click.</p>
  
  <pre><code>&lt;asp:TextBox ID="rowID" runat="server"&gt; &lt;/asp:TextBox&gt;
          &lt;asp:Button runat="server" ID="Click" OnClientClick="PassValue(Textboxvaluehere)"/&gt;
  </code></pre>
  
  <p>PassValue is JavaScript method.</p>
  
  <p>Thanks in Advance.</p>