textContent
Get the text content of this node.
For example if this node represents the following HTML: <div>Hello <a href="#">World!</a></div>
The textContent will be: Hello World!
Return
The text content within this node.
Get the text content of this node.
For example if this node represents the following HTML: <div>Hello <a href="#">World!</a></div>
The textContent will be: Hello World!
The text content within this node.