js display none after 2 seconds code example Example: html timed hide setTimeout(function() { $('#hide').show() }, 4000);