Jquery how to take the text of a paragraph that does not have id when there are several | in the document. example:
<p> este es el texto </p>
<p> este es el 2º texto</p>
var texto=$('p').text();
$("#muestra").append(texto);
console.log(texto);
I've done it with this code, but take the text of all the paragraphs:
with javascript to do it, with jquery no.