[thelist] Document.write Issue

Luther, Ron Ron.Luther at COMPAQ.com
Mon Apr 29 11:12:01 CDT 2002

Hi Josh,

Could you use a blank named div as a placeholder and use JS to rewrite the 'innerHTML' or 'innerText' of the named div with the content from the cookie?



-----Original Message-----
From: Feingold Josh S [mailto:Josh.S.Feingold at irs.gov]

I am trying to write one of my cookies in the body of my document.

function links() {
  document.write ("<b>Current Links</b><br>")
  for (x=0;x<listoflinks.length - 1;x++) {
   thelink = listoflinks[x].split('%e%q%')
   document.write("<a href='" + thelink[1] + "'>" + thelink[0] + "</a>

The problem is that when the function is called, it redraws the entire page.

More information about the thelist mailing list