how to add two number using jqueryu
snippet in javascript

how to add two number using jqueryu

user1512

var a=parseInt($("#d1").val());
var b=parseInt($("#d2").val());
var sum=a+b;
alert($(sum));