nichemtktg — 2011-08-31T17:54:32-04:00 — #1
What's meant by the "#" in this instruction about the HTML DOM?
The nodeName Property
The nodeName property specifies the name of a node.
* nodeName is read-only
* nodeName of an element node is the same as the tag name
* nodeName of an attribute node is the attribute name
* nodeName of a text node is always #text
* nodeName of the document node is always #document
marplo — 2011-09-01T07:04:24-04:00 — #2
I think that "#text" want to specify that is a text string, "#document" specifies that is the object that represents the document.