> Please excuse my noobiness, I just started playing with jQuery today
> and I cannot seem to find the answer to this:
>
> If you have elements with multiple classes, how do target just one
> class?
>
> For example:
>
> <p class="big blue">blah blah blah</p>
>
> <p class="big green">blah blah blah</p>
>
> <p class="small green">blah blah blah</p>
>
> How do I target the <p>'s with the class of "green"?
>
> Thanks in advance.

$('p.green')

Reply via email to