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