Answers for "how to access the inner text of an element"

-1

innertext of element js

var text = document.querySelector('#text').innerText; //'#':id '.':class
Posted by: Guest on March-13-2022

Code answers related to "how to access the inner text of an element"

Code answers related to "Javascript"

Browse Popular Code Answers by Language