SyntaxFix
Write A Post
Hire A Developer
Questions
i think you should do:
var myInterval on.onclick = function() { myInterval=setInterval(fontChange, 500); }; off.onclick = function() { clearInterval(myInterval); };