how to add delay to function execution in jquery code example
Example 1: jquery delay
setTimeout(
function()
{
//do something special
}, 5000);
Example 2: jquery delay to call function
$(this).delay(1000).queue(function() {
// your Code | Function here
$(this).dequeue();
});