HTML and XHTML

Does document.write work in XHTML?

No. Because of the way XML is defined, it is not possible to do tricks like this, where markup is generated by scripting while the parser is still parsing the markup.

You can still achieve the same effects, but you have to do it by using the DOM to add and delete elements.\

 

Why not work

http://ln.hixie.ch/?start=1091626816&count=1

 

a solution to chagne base class

http://weston.ruter.net/projects/xhtml-document-write/

 

Good way to rebuild a class

 

http://ajax.phpmagazine.net/2006/11/xhtml_and_documentwrite_replac.html

John ‘s orig way using a method

http://ejohn.org/blog/xhtml-documentwrite-and-adsense

 

Basic things by hardcode

 

http://www.intertwingly.net/blog/2006/11/10/Thats-Not-Write

 

 

innerHTML null error in Xhtml

 

 

http://www.webdeveloper.com/forum/showthread.php?t=188189

 

 

 

 

 

 

 

Advertisements