I need to select '#foo #three' using 'this' to get this result:
cat
dog
cat
Html:
<div id="foo">
<div id="one">cat</div>
<div id="two">dog</div>
<div id="three">mouse</div>
</div>
JS:
$("#foo #three").text($('this div:first').text());
I need this code dynamically