JavaScript Settimeout
setTimeout(function(){
alert("Sup!");
}, 2000);//wait 2 seconds
Grepper
setTimeout(function(){
alert("Sup!");
}, 2000);//wait 2 seconds
setTimeout(function(){ alert("Hello"); }, 3000);
setTimeout(function(){
//code goes here
}, 2000); //Time before execution
// Redirect to index page after 5 sec
setTimeout(function(){ window.location="index"; },5000);
setTimeout(function(){
//code goes here
}, 2000);