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

xhtml and javascript

From: Eric Hsu <airickhsu@yahoo.com>
Date: Fri, 27 Jun 2003 17:54:04 -0700 (PDT)
Message-ID: <20030628005404.74277.qmail@web41702.mail.yahoo.com>
To: www-html@w3.org
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? 
 
I'm under the impression that xhtml 1.1 doesn't support things like name, frames, or the HTMLDocument object model (or something).   I understand, that currently, my code validates and runs fine (under IE) because it is still treating it as text/html.  
 
So will putting the javascript in a different file make everything ok?  Doesn't putting it in a different file limit the use of document.write()?    Should I use document.open() and close()  instead?   or  "break apart" all the tags tags  (that gets to be a hassle and I don't even know why i need to do this)
 
If I were to make a xhtml 1.1 page, should I use Netscape (Mozilla),  Amaya, to verify that it works under 1.1?    
 
eric
 



---------------------------------
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
Received on Friday, 27 June 2003 22:37:57 GMT

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