RE: How can I write some text? by tlavedas
tlavedas
Tue Oct 05 11:01:01 CDT 2004
I use document.insertAdjacentText (or insertAdjacentTextHTML, as
appropriate), as in ...
document.insertAdjacentText "BeforEnd", "An important Message goes here!"
You can create a 'replacable' message instead by adding a <div
id=Messages> </div> somewhere in your document and use the Messages.innerText
or innerHTML to add the text.
Tom Lavedas
===========
"Dave" wrote:
> Hi,
>
> Is it possible to write some text at the bottom of what is already on the
> page so I can flash a message for example. If I use document.write it wipes
> the whole page and starts again at the top.
>
> Dave
>
>
>