I\'m creating a web app...
i got a kind of game, my idea is when the user completes each level appears a dialog box with some information, it is fine.
Now my
You could try using setTimeout().
setTimeout()
Example.
setTimeout(function(){ // do stuff here, in your case, append text }, 5000);
The 5000 can be replaced with any value of time that determines the length of the delay in milliseconds.
5000