JS write of new document

by "John Murray" <jmnc(at)lis.net.au>

 Date:  Sun, 9 Jul 2000 21:57:55 +1000
 To:  <hwg-languages(at)hwg.org>
  todo: View Thread, Original
I'd like to take the values of a form in one window and use them as part of
the contents of another window.

Questions:

1. Is there a javascript technique that enables me to write an entire block
of text like there is in perl say [ie. so I don't have to do 'document.write
..' for every line of the document]

2. I'm uncertain about whether to put the <html> tag as part of the new
documents document.write build process. And what about building the new
document with a javascript section. And are there any characters that I have
to escape [e.g comment tags] or use another technique to include them.

3. What about the window title bar. Will a document.write of a
<title></title tag work.

Thanks,

John

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA