javascript delay hide div code example Example: html timed hide setTimeout(function() { $('#hide').show() }, 4000);