jquery wait a second code example
Example 1: jquery wait 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);