For instance, consider the following:
<div id="my_div">
<div>aaa</div>
<div>sss
<div id="this_is_not_straight_for_my_div">not straight</div>
</div>
<div>ddd</div>
</div>
How would one go about selecting only direct children of the my_div
element? Please explain this for both css
and jquery
.