delay JQuery effects May 14, 2023 by Tarik setTimeout(function() { $('#foo').fadeOut(); }, 5000); The 5000 is five seconds in milliseconds.