How do I update the value in one text box (txtInterest%) based on the value entered/changed in another text box (txtAmt)?
txtInterest%
txtAmt
Use jQuery's change method for updating. Using your example:
$('#txtAmt').change(function() { //get txtAmt value var txtAmtval = $('#txtAmt').val(); //change txtInterest% value $('#txtInterest%').val(txtAmtval); });
2.1m questions
2.1m answers
60 comments
57.0k users