Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

innertext js

var text = document.querySelector('#text').innerText; //'#':id '.':class
 
PREVIOUS NEXT
Tagged: #innertext #js
ADD COMMENT
Topic
Name
4+4 =