Javascript display text then after some time display new text?

You're looking for the setTimeout method. This will execute a function after a specific period of time setTimeout uses milliseconds. Var oneSecond= 1000; var tenMinutes = oneSecond * 60 * 10; setTimeout(function() { // Change the text here }, tenMinutes) The setTimeout method will fire once after the specified time.

If you want it to fire on a regular basis, say every X seconds, then use setInterval instead.

You're looking for the setTimeout method. This will execute a function after a specific period of time. // setTimeout uses milliseconds.

Var oneSecond= 1000; var tenMinutes = oneSecond * 60 * 10; setTimeout(function() { // Change the text here }, tenMinutes); The setTimeout method will fire once after the specified time. If you want it to fire on a regular basis, say every X seconds, then use setInterval instead.

That would work as long as they don't want anything to happen for 10 min, I think he's looking for a JavaScript countdown timer. (4 minutes 32 seconds remaining) – daniellmb Mar 30 at 22:56 @daniellmb part of the post suggests a time and part specifically calls for action after 10 minutes. Probably wants both – JaredPar Mar 30 at 23:06.

I would take a look at something this this.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions