[jQuery] Trouble selecting a P inside a repeating DIV

[jQuery] Trouble selecting a P inside a repeating DIV


Hello - My basic code is something like
<div class="insidepost">

paragraph 1


paragraph 2


paragraph 3


</div>
<div class="insidepost">

paragraph 1


paragraph 2


paragraph 3


</div>
I was hoping to use
        $(".insidepost p:eq(1)").addClass("cambottomline");
        $(".insidepost p:eq(2)").addClass("cambuy");
Only works on the first div though. Any suggestions for selecting the
same certain P in each div?
Thank you,
Tobias