posted 15 years ago
Let us say i group the tags following the title paragraph (p with class name title), like this
Now, how should i form a selector to fetch the div followed by the title paragraph ? I guess something like this
$(".title + div"), but i also need to check the innerText of the title paragraph (I would want to select Title 1,Title 2 so on..).
Thanks for your help,
Srikkanth