textNode.wholeText property returns the full text of all Text nodes logically adjacent to the node.
Here, the text is concatenated in document order. This allows to specify any text node and obtain all adjacent text as a single string.
Note: This property is read-only.
|String||Returns the full text of all Text nodes logically adjacent to the node.|
Please do google search for:
Join Our Channel
This channel is primarily useful for Full Stack Web Developer.