$("#result").val(parseInt($("#amount").val(), 10) - parseInt($("#discount").val(), 10));
That should do it. jsFiddle here.
6
solved Substraction two textbox values with jquery [duplicate]
$("#result").val(parseInt($("#amount").val(), 10) - parseInt($("#discount").val(), 10));
That should do it. jsFiddle here.
6
solved Substraction two textbox values with jquery [duplicate]