Not sure if I phrase the question correctly, but I'm trying to target a class within another class, but I've declared the parent class as a variable.
<div class="parent">
<p class="child">hello world</p>
</div>
var a = $('.parent');
var b = $('.parent .child');
Is there a better way/convetion of declaring variable 'b'? Or targeting classes within variable 'a'?