+ 2
Why is it showing errors?
7 Réponses
+ 2
change the 'int' keywords for 'var' or 'let'
+ 1
thank you
but why isnt it changing the time input when we click the year days or months button
+ 1
change the functions like this:
function take(){
document.getElementById('t').value = document.getElementById("t").value;
}
function takei(){
document.getElementById('t').value = parseInt(document.getElementById("t").value) /parseInt(365);
}
function takein(){
document.getElementById('t').value = parseInt(document.getElementById("t").value) /parseInt(12);
}
+ 1
thank you
btw
why is the compound interest yearly textbox showing undefined?
+ 1
inside the function coma, change the last two line like this:
var ans = parseInt(mina) * parseInt(document.getElementById("p").value) // remove the quotes around mina
document.getElementById("siy").value = ans // put ans instead of ans.value
+ 1
thank you very much
+ 1
when i click the compound interest button after changing the value of p r and t why isnt the value of the half yearly textbox changing?