how to delay in html code example Example: jquery delay $( "#foo" ).slideUp( 300 ).delay( 800 ).fadeIn( 400 );