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