Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

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
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.