Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js do every x seconds

window.setInterval(function() {
  // do stuff
}, 1000); // 1000 milliseconds (1 second)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #seconds
ADD COMMENT
Topic
Name
5+4 =