SO fiddle
Test Fiddle mainly for SO Questions
by Nick Craver
HTML
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/themes/overcast/jquery-ui.css">
<div class="body">
<a href="/question?id=70"><p>This is the text I want to extract</p></a>
</div>
JavaScript
$(function() {
alert($("body").find("a p").text());
});