Code: Select all
<script>
document.writeln('<p>What ever you want to write<\/p>');
</script>But.... if I use this to create a delay before writing the text, it creates a new blank page with only the written text:
Code: Select all
<script>
setTimeout(\"document.write('<p>What ever you want to write<\/p>')\",500);
</script>Is there any way for me to put a delay before writing the text without it creating a new page?
Thanks!