In DOM, the nodeValue property sets or gets the node value of the specified node
In DOM (Document Object Model), the nodeValue property sets or gets the node value of the specified node. When using nodeValue as getter, the result can often be the text within the selected node. When using nodeValue as setter, it can be used to change the text within the specified node.