Answers for "javascript .interval"

4

javascript setinterval

setInterval(function() {
  //Your code
}, 1000); //Every 1000ms = 1sec
Posted by: Guest on May-22-2020
4

javascript settimeout

// Redirect to index page after 5 sec
setTimeout(function(){ window.location="index"; },5000);
Posted by: Guest on July-17-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language