function calculate() {
var n1=parseInt(firstnum.value);
var n2=parseInt(secondnum.value);
result.value=n1+n2;
}
function reset() {
firstnum.value="";
secondnum.value="";
result.value="";
}
function check(field) {
if (isNaN=(field.value)){
alert("Invalid please try again!");
return false;
}
else
return true;
}
This code when key in 1 and 2 num clickadd the result no appear??