SyntaxFix
Write A Post
Hire A Developer
Questions
Do a "recursive" setTimeout of your function, and it will keep being executed every amount of time defined:
setTimeout
function yourFunction(){ // do whatever you like here setTimeout(yourFunction, 5000); } yourFunction();