I am trying to fill TextBox on event of two buttons.
<div class="numbers-row">
<div onclick="var result = document.getElementById('qty'); var qty = result.value; if( !isNaN( qty ) && qty > 0 ) result.value--;return false;" class="dec qtybutton"><i class="fa fa-minus"> </i></div>
<asp:TextBox ID="qty" runat="server" class="qty" title="qty" maxlength="12" name="qty"></asp:TextBox>
<div onclick="var result = document.getElementById('qty'); var qty = result.value; if( !isNaN( qty )) result.value++;return false;" class="inc qtybutton"><i class="fa fa-plus"> </i></div>
</div>
Image contains two buttons. On Onclick event minus button decremented the value and plus button increment the value, but the value is not reflecting on TextBox. But if i use html textbox like <input type="text" class="qty" title="Qty" value="1" maxlength="12" id="qty" name="qty"/> it works fine

inputtag. What's theidattribute of the text box in production? Does it prepend any other info?