Please advise how to pass parameters into a function called using setInterval
.
My example setInterval(funca(10,3), 500);
is incorrect.
You need to create an anonymous function so the actual function isn't executed right away.
setInterval( function() { funca(10,3); }, 500 );