Answers for "innertext in javascript w3schools"

7

HTML DOM innerText

var x = document.getElementById("myBtn").innerText;
Posted by: Guest on February-28-2021
-1

innertext javascript

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

Browse Popular Code Answers by Language