javascript how to get current element text only code example
Example: js get innertext minus the span text
document.getElementById("listItem").childNodes[0].nodeValue;
document.getElementById("listItem").childNodes[0].nodeValue;