In article <HPZMc.1221913$Ar.1037509
@twister01.bloor.is.net.cable.rogers.com>,
a@alexa.com enlightened us with...
Do I have to replace all new lines with \n and document.write one line? Is
there something like perl's print lines
print << 'body';
IF I understand your question correctly...
var myString;
myString = "This is a line of text " +
"that I want over multiple lines. " +
"That way, I don't have to make one big line of "+
"unreadable text.";
document.write(myString);
The string will be all on one line in the browser.
As to a construct like the HERE doc in Perl, no, no such animal in JS AFAIK.
--
--
~kaeli~
When you choke a smurf, what color does it turn?
http://www.ipwebdesign.net/wildAtHeart http://www.ipwebdesign.net/kaelisSpace