I want to have the text value from a inside a element.
html:
HTML:
This Text
This Text
JavaScript:
function myfunction(foo) { var elem = foo.getElementsByTagName('p'); var TextInsideLi = elem[0].innerHTML; }