set interval js
setInterval(function(){
console.log("Oooo Yeaaa!");
}, 2000);//run this thang every 2 seconds
4.25
4
setInterval(function(){ alert("Hello"); }, 3000);
Thank you!
4
0
0
0
setInterval(function() {
//Your code
}, 1000); //Every 1000ms = 1sec
Thank you!
0
0
Are there any code examples left?
New code examples in category Javascript