jquery 5 second delay code example
Example 1: jquery pause n seconds
setTimeout(
function()
{
//do something special
}, 5000);
Example 2: jquery delay 1 second
setTimeout(
function()
{
//do something special
}, 1000);
setTimeout(
function()
{
//do something special
}, 5000);
setTimeout(
function()
{
//do something special
}, 1000);