Javascript function returning default value instead of currently entered value of a textbox
<p>I have a Web page(aspx) with a large amount of JavaScript and Jquery(Used for managing the image scrolling for different sections like Featured products,Special Offers etc)</p>

<p>In the Featured Products section multiple product details are listed .
Each product has an associated text box where the user can enter a quantity that he wants to purchase.</p>

<p>When I try to get the value of a particular text box using JavaScript I get the default value of the text box instead of the value that is currently entered in the text box.</p>

<p>Using J Query also results in the default value being returned.</p>

<p>If the text box is moved to the beginning of the form section the currently entered value in the text box is returned as expected.</p>

<p>Thanks in advance for any tips as to why this is happening</p>

<p>Regards</p>

<p>Mathew</p>
