Web server address - JavaScript Programmer’s Reference Property/method value type: String primitive

JavaScript Programmer’s Reference Property/method value type: String primitive JavaScript syntax: -myAttribute.nodeName This is provided to support some previous usage that accessed the tag name under the nodeName property. The same value is available in the nameproperty of the Attribute object. It may contain some values that the name property does not support. The following values may be seen in this property: . The tag name, also visible via the tagName property of the owning object . The attribute name for those nodes that are Attribute objects . The value #text for nodes that encapsulate a block of raw text and are textNode objects See also: Element.tagName, textNode object Attribute.nodeType (Property) Part of the internal document hierarchy management within MSIE. Availability: DOM level 1 JavaScript 1.5 JScript 5.0 Internet Explorer 5.0 Netscape 6.0 Property/method value type: Number primitive JavaScript syntax: -myAttribute.nodeType The node hierarchy is built from objects that represent a variety of different kinds of Document Object Model content. The two principle node types are HTML Element nodes (value 1) and Text content nodes (value 3). Here is a list of the available node types: 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 Table continued on following page

Leave a Reply