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);
1.4m articles
1.4m replys
5 comments
57.0k users