I've got a setInterval() called in a jQuery plugin, but I want to clear it from my main page, where I don't have access to the variable that the setInterval was stored in.
Is there a way to clear all timers present on a page?
This can be one of logic to clear all interval...
for (var i = 1; i < 99999; i++) window.clearInterval(i);
2.1m questions
2.1m answers
60 comments
57.0k users