[thelist] [JavaScript] String Error Help?

howcheng at ix.netcom.com howcheng at ix.netcom.com
Sat Jan 4 01:48:01 CST 2003


Try using single quotes instead to hold the string and thus eliminating the
need to escape your double-quote marks.

On Fri, 3 Jan 2003 21:24:41 -0700 Steve Clason <steve at clason.org> wrote:


> theDOM.documentElement.outerHTML = "<!DOCTYPE HTML PUBLIC
\"-//W3C//DTD XHTML 1.0 Strict//EN\"\n
\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\"> \n"




More information about the thelist mailing list