create delay in jquery code example Example: jquery delay setTimeout( function() { //do something special }, 5000);