var a=parseInt($("#d1").val());
var b=parseInt($("#d2").val());
var sum=a+b;
alert($(sum));
$(document).ready(function(){
$("input").focus(function(){
var fee = parseInt($("#fee").val());
var installments = parseInt($("#installments").val());
$("#installment_fee").val(fee/installments);
});
$("input").blur(function(){
var fee = parseInt($("#fee").val());
var installments = parseInt($("#installments").val());
$("#installment_fee").val(fee/installments);
});
});