show and hide after seconds jquery code example Example: jquery show and hide after 5 seconds $("#myElem").show().delay(5000).fadeOut();