php jquery my alert message just display and gone how to display for 30 second code example Example: js show span for 5 seconds $("#myElem").show().delay(5000).fadeOut();