dear sir ,
how to calculate sum three textbox without using button ,the value put in three textbox the result show next textbox automatically using asp.net webform
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Shubham KumarPosted Feb 2, 2016, 12:44 AM
var nb1 = parseInt(document.getElementById("txt1").value, 10);
var nb2 = parseInt(document.getElementById("txt2").value, 10);
var nb3 = parseInt(document.getElementById("txt3").value, 10);
var nb4 = nb1 + nb2 + nb3;
document.getElementById("sommeTtl").value=nb4;
}
event
Nishant MittalPosted Feb 2, 2016, 12:39 AM