Selecting first p in every div
Hi everybody,
here's what my code is lookin like:
-
$('body.page-taxonomy .content-inner p:first').addClass("border");
This works for the first p on the page, but there are multiple constructs like
-
<div class="content-inner">
<p>Text</p>
</div>
and I would like to select each first p
Any help is appreciated
