[Javascript] printing blocks of text

Chris Tifer christ at saeweb.com
Fri Aug 1 07:33:37 CDT 2003


None that I know of. Not with JavaScript.

Chris Tifer
http://emailajoke.com

----- Original Message -----
From: "Chris Basken" <chriz at basken.com>
To: <javascript at LaTech.edu>
Sent: Thursday, July 31, 2003 4:37 PM
Subject: [Javascript] printing blocks of text


> Hey all,
>
> In Perl, you can do things like:
>
>    print qq*
>
>    BUNCH OF PLAIN TEXT HERE
>
>    *;
>
> Is there a way to do something similar in JS?  If I have line after line
of
> HTML I want to write, I've usually just done lots of document.writes, but
> that involves escaping quotes and whatnot.  Is there a better way?
>
>
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript



More information about the Javascript mailing list