set tiemout jqeury code example
Example 1: settimeout jquery
setTimeout(function(){ alert("Hello"); }, 3000);
Example 2: javascript settimeout
// Redirect to index page after 5 sec
setTimeout(function(){ window.location="index"; },5000);
setTimeout(function(){ alert("Hello"); }, 3000);
// Redirect to index page after 5 sec
setTimeout(function(){ window.location="index"; },5000);