wait second jquery code example Example: jquery wait n seconds setTimeout( function() { //do something special }, 5000);