I've this HTML block:
<div class="singolo-contenuto link_azure">
<p>I'm a TEXTXXXXXXXXXXXXXXXX<p>
<a href="http://example.com">Name of URL</a></p></p>
<ul class="list_attachments"><li><a
href="DON'T TOUCH"><img src='/img/fileicons/file.png' alt='file'/> TITLE</a></li></ul>
</div>
<div class="clear"></div>
Actually I'm taking text with:
document.select(".singolo-contenuto").text();
That returns to me: "I'm a TEXTXXXXXXXXXXXXXXXX Name of URL". Isn't possible to get "I'm a TEXTXXXXXXXXXXXXXXXX http://example.com Name of URL"?
are not always the same in all the pages. I'm only sure that text and href will be in the ""singolo-contenuto link_azure" class.