W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2005

where can I get sample code or referrence document about DOM JavaScript ?

From: Peter Ling <lwtsoft_maillist@163.com>
Date: Thu, 29 Dec 2005 15:56:04 +0800
Message-ID: <00bc01c60c4d$62d8d370$3b46a8c0@lwt>
To: <www-dom@w3.org>
I have a web application write on IE6 ( JavaScript & MS DHTML ), but it can't run in orther web browser, I want convert the code to fit other  web browser  well.
I read the DOM level 1 specification, I know the DOM , but I am not sure how to use DOM in HTML JavaScript with "Appendix D: ECMA Script Language Binding".
Microsoft MSDN have a DHTML  referrence,but it only work in IE. I want a similar referrence of  JavaScript work with  W3C DOM, or some sample code to teach you how to write JavaScript with DOM. 
By the way, the code "<script> document.write("Hello!"); </script>" can work,but the code ""<script> HTMLDocument.write("Hello!"); </script>" can not work! Why? Is the "document" is the default object have already declare in system? and how can I get the other object listed in "Appendix D: ECMA Script Language Binding" ? 

Received on Friday, 30 December 2005 08:12:42 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:12 UTC