My HTML looks like this:
<div class="col-md-2" id="myName1"> <p> <a href="/something/121212">Get This Text</a> </p> </div> The question is how do I get the text "Get this Text"
Something like this, but getting that text which is wrapped in the p and a tags:
function () { return document.getElementById('TextID'); }