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