$(function() {
setInterval( function(){clickRight();}, 5000 );
});
I have this function that executes on load for a slider. However when I add another setInterval for when someone clicks the next button it doesnt reset the setinterval but creates another timer.
How do I reset the main timer?
以上就是How do I create one instance of setinterval where I can change the timing?的详细内容,更多请关注web前端其它相关文章!