I have the following anchor tag
<a href="http://www.google.com/">Google</a>
I know how to get the href from an anchor take:
alert($(this).attr("href"));
But how do I get the text from the anchor tag, i.e. how do I get "Google"?
I have the following anchor tag
<a href="http://www.google.com/">Google</a>
I know how to get the href from an anchor take:
alert($(this).attr("href"));
But how do I get the text from the anchor tag, i.e. how do I get "Google"?