Re: xhtml and javascript

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 UTC