<script type ="text/javascript" > function fun() { var a = document.getElementById("TxtA").value; var b = document.getElementById("TxtB").value; var sum = parseInt(a) + parseInt(b); //alert(sum); } </script>
document.getElementById("Label1").innerText=sum; //or document.getElementById("Label1").innerhtml=sum;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)