161
rated 0 times
[
165]
[
4]
/ answers: 1 / hits: 42593
/ 12 Years ago, mon, june 18, 2012, 12:00:00
I want to select the second <p>
tag and style it within a itemize
class div. Here is the example HTML:
<div class=itemize>
<p> Order Summery</p>
<div>
<p><strong>Packages:</strong> </p> <!-- i want to select this P tag-->
<p><strong>Date:</strong> </p>
<p><strong>Style:</strong> </p>
</div>
</div>
I want to select and style the first <p>
which is immediately after the second <div>
. The second <p>
has no ID or class.
How can I select it via jQuery?
More From » jquery