PHP : echo message for a specified amount of time

前端 未结 6 2160
暗喜
暗喜 2021-01-23 09:34

I want to display a string \"Your status has been posted\" for something around 3 or so seconds than I want it to go away.

As of right now I have a news feed where the u

6条回答
  •  囚心锁ツ
    2021-01-23 10:19

    If sending output to the browser, then you can use javascript to control the time-window you want your text to be visible.

    If using jquery you could use .hide() http://api.jquery.com/hide/

提交回复
热议问题