Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js get innertext minus the span text

document.getElementById("listItem").childNodes[0].nodeValue;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #innertext #span #text
ADD COMMENT
Topic
Name
7+5 =