Answers for "how to time out function after 10 seconds"

0

javascript run something after x seconds

setTimeout(function(){
  location.reload();
}, 3000); //run this after 3 seconds
Posted by: Guest on August-07-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 "how to time out function after 10 seconds"

Code answers related to "Javascript"

Browse Popular Code Answers by Language