Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

innertext of element javascript

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