[thelist] document.write

.jeff jeff at members.evolt.org
Tue Jul 23 17:30:01 CDT 2002


tom,

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Tom Dell'Aringa
>
> I want to use multiple document.write()'s to write some
> content to the page, using a JavaScript custom object.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

before or after the page has finished loading?

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> I want to say the if you do one write, then another -
> doesn't the second one REwrite over the first?
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

it depends.  are you doing the writing from within a function that gets called by some action in the document?

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> I have like 6 in a row I need to do. I tried using
> document.close() at the end, that doesn't work. I
> thought there was some kind of concatenation you could
> do, but I can't locate it.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

you could always concatenate the string you want to write and then do the document.write() once you've got the string the way you want it.

.jeff

http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/




More information about the thelist mailing list