[thelist] [JavaScript] String Error Help?

thelist@lists.evolt.org thelist at lists.evolt.org
Sat Jan 4 01:48:01 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.orgrote:


> 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"