SyntaxFix
Write A Post
Hire A Developer
Questions
Use setInterval()
setInterval()
setInterval(function(){ alert("Hello"); }, 3000);
The above will execute alert("Hello"); every 3 seconds.
alert("Hello");