data (W3C DOM Core property)
var nodedata = node.data;
The example above stores the data of a node to the
nodedata variable. So if node were a
Text node, such as the text inside the quote in the
<q>Reverse the polarity of the neutron flow</q>
Then the nodedata variable would have the value
Reverse the polarity of the neutron flow. This is also
the same as its
This property is read/write.
There are wide variations in when the objects that this property belongs to are available (see each interface separately for details); however when available, this property always returns correctly, hence it's considered to be fully supported with no known issues.