G
gnewsgroup
On page load, is it possible to write out something to the browser
using
document.write("blah blah ...");
And then pause for 2 seconds and write out something else like
document.write("something funny...");
Javascript does not seem to have a sleep function. I've tried
setTimeOut("myFunction()", mydelay);
It does not work.
Any idea? Thanks.
using
document.write("blah blah ...");
And then pause for 2 seconds and write out something else like
document.write("something funny...");
Javascript does not seem to have a sleep function. I've tried
setTimeOut("myFunction()", mydelay);
It does not work.
Any idea? Thanks.