So I've got this code:
[HTML]function startCalc(one, two, three){
interval = setInterval(calc(one, two, three),1);
}
function calc(one, two, three){
var element = document.getElementById(one).value;
var element2 = document.getElementById(two).value;
document.getElementById(three).value = (element * 1) * (element2 * 1);
}
function stopCalc(){
clearInterval(interval);
}[/HTML]
Now, calc is being ran without the interval because it doesn't have quotes. However, if I put quotes in, the parameters aren't passed and the function doesn't work. What can I do? Thanks in advance for your help.