I have the following code:
<div class="div1">
<div class="text_wrapper">
<div class="whatevername1" style="color:blue;">
text1...
</div>
</div>
</div>
<div class="div2">
<div class="text_wrapper">
<div class="whatevername2" style="color:blue;">
text1...
</div>
</div>
</div>
I would like to know how to select the class whatevername as a child starting from the first div class.
Edit:
I don’t have class whatevername, could be any name generated dynamically and that’s the element that I want to select.
to select the
divUPDATE To the edit
if you want to select first you can use
:eq(0)like this