jQuery .delay() method sets a timer to delay execution of subsequent items in the queue
Syntax and Description
.delay(duration, [queueName])
Set a timer to delay execution of subsequent items in the queue.
duration
The number of milliseconds to delay execution of the next item in the queuequeueName (optional)
name of the queue. Defaults to fx, the standard effects queue
Its return value is the jQuery object, for chaining purposes.
Set an 800-millisecond delay between the .slideUp() and .fadeIn() of the foo element:
$('#foo').slideUp(300).delay(800).fadeIn(400);