Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get list of text from div in js

var elem = document.querySelector(".div.Hello");

alert(elem.textContent)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #list #text #div #js
ADD COMMENT
Topic
Name
1+1 =