Christian Biesinger wrote:
> Sean wrote:
> 
>>   var docText = "<html><head><title>Something New</title></head>
>>                  <body>Blah, blah, blah.</body></head>"
> 
> [...]
> 
>> Netscape 4.7x still runs them just fine, but Mozilla and Netscape 6.x
>> just go belly up over this simple feature.
> 
> 
> Works for me, if I put the docText string on one line, instead of 2.

If you do want to span the string over multiple lines, use something 
like this:

var docText = "<html><head><title>Something New</title></head>" +
               "<body>Blah, blah, blah.</body></head>";


-- 
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
                                                  -- Benjamin Franklin


Reply via email to