delay function jquery code example
Example 1: jquery delay
setTimeout(
function()
{
//do something special
}, 5000);
Example 2: jquery delay
$( "#foo" ).slideUp( 300 ).delay( 800 ).fadeIn( 400 );
Example 3: jquery delay to call function
$(this).delay(1000).queue(function() {
// your Code | Function here
$(this).dequeue();
});