Cool web site - JavaScript Programmer’s Reference ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE,
JavaScript Programmer’s Reference ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE appendChild(), cloneNode(), hasChildNodes(), insertBefore(), removeChild(), replaceChild() Class constants: Object methods: Collections: Here is a list of the available node types: attributes[], childNodes[] Constant Type Description undefined null A member of the attributes collection ELEMENT_NODE 1 HTML element object node ATTRIBUTE_NODE 2 HTML tag attribute object TEXT_NODE 3 Text object node CDATA_SECTION_NODE 4 CDATA section ENTITY_REFERENCE_NODE 5 Entity reference ENTITY_NODE 6 Entity node PROCESSING_INSTRUCTION_NODE 7 Processing instruction node COMMENT_NODE 8 Comment node DOCUMENT_NODE 9 Document object DOCUMENT_TYPE_NODE 10 Doctype object DOCUMENT_FRAGMENT_NODE 11 Document fragment node NOTATION_NODE 12 Notation node The DOM level 2 specification adds the following methods: . supports() . normalize() It also adds the following properties: . namespaceURI . prefix . localName At DOM level 3, the interface to the Node object is expected to evolve further to allow nodes to be compared and to be able to extract a serialized version of a DOM tree branch into a string primitive. This functionality is still under review as this is being written. The following additional properties are expected to be supported: . baseURI . textContent . key 1526