This is my html:
<div id="border1">parents nodes text
<div id="border2">the target node
<div id="border3">the main nodes child node</div>
</div>
</div>
I want to save first div output which is parents nodes text . when i use
let big = document.getElementById("border1").innerText
it will give me all texts in all of divs!
How can i solve this problem?