+ 1
Help with JS please
Hi, Iâm trying to update the text area (called âoutput1â) of a html document I would like to change it to display message 1, wait an amount of time and then Change the same text area to message 2 etc. Hereâs what I have... function textAni1() { output1.innerHTML = ' ... ' } // Message 1 output1.innerHTML = ('Hello ' + name + " and welcome to Trail"); setTimeout(textAni1 , 3000); Message 2 output1.innerHTML = ("Your objective is to walk the trail and survive to tell the tail"); If I comment out one message it will display the other but I canât get it to display the message then display â...â for a few seconds then display next message. Any help would be greatly appreciated Thanks
2 RĂ©ponses
+ 4
@Gary
Show the code.
Reading like this is annoying.
+ 1
as 5667 said..post the code..there is a plus sign where you can add your code here