How to use javascript to get an ASP.NET's Textbox Control's Value
<p>Suppose I have an ASP.NET Text Box as Below : </p>

<pre><code>&lt;asp:TextBox ID="txtQuantity" runat="server" Text="0"&gt;&lt;/asp:TextBox&gt;
</code></pre>

<p>I want to get this box's current value in javascript. How can I access this element? If it was a normal html text box, with id="txtQuantity", then I could access it using "document.getElementById("txtQuantity")". But how can I access ASP.NET text box in javascript?</p>
