javascript hide element after 5 seconds code example Example: html timed hide setTimeout(function() { $('#hide').show() }, 4000);