samedi 3 janvier 2015

finding p tag between two div tags

I want to find out


tag between two different divs using jQuery. For example



<div class="abc">
<div class="pqr">
<h2>Header Two</h2>
<p>some text</p>
</div>
</div>
<p>some text 1</p>
<div class="lmn">
<p> some text </p>
</div>


So I want to find the p with "some text 1". (the text could be anything.)


Can anyone tell me how can I do this ?


Aucun commentaire:

Enregistrer un commentaire