Question: how to calculate two values in jquery?
Answer: $("#calculate").click(function () {
var primaryincome = $("#primaryincome").val();
var otherincome = $("#otherincome").val();
var totalincome = parseInt(primaryincome) + parseInt(otherincome);
alert(totalincome);
$("#totalamountremaining").val(totalincome);
})