Enter 10% and 20% of the two TextBoxes, and subtract 1 from them. The result is automatically displayed in the Label.
Please help me look at what method, thank you
<script type="text/javascript">
function a()
{
var a=document.getElementById('TextBox1').value;
alert(a);
var b=document.getElementById('TextBox2').value;
alert(b);
var c=1-a-b;
alert(c);
document.getElementById('Label1').innerHTML=c;