W3C home > Mailing lists > Public > www-html@w3.org > June 2003

Re: xhtml and javascript

From: Toby A Inkster <tobyink@goddamn.co.uk>
Date: Sat, 28 Jun 2003 10:36:58 +0100
To: Eric Hsu <airickhsu@yahoo.com>
Cc: www-html@w3.org
Message-ID: <20030628093658.GB18014@ophelia.goddamn.co.uk>
On Fri, Jun 27, 2003 at 05:54:04PM -0700, Eric Hsu wrote:
| I'm trying to figure out what all this talk about document.write() not working
| in xhtml 1.1.  Are there any websites that may elucidate the problem and the
| solution? 

It is mainly to avoid people doing silly things like:

<p>Here is a
<script>
document.write("complete paragraph<");
document.write("/p>");
</script>

-- 
Toby A Inkster BSc (Hons) ARCS | mailto:tobyink@goddamn.co.uk | pgp:0x6A2A7D39
    aim:inka80 | icq:6622880 | yahoo:tobyink | jabber:tai@jabber.linux.it
            http://www.goddamn.co.uk/tobyink/ | "You've got spam!"
                             playing://(nothing)

Received on Saturday, 28 June 2003 05:37:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:55 GMT