I have table
<table>
<tr>
<td>
<div class="a"></div>
<div class="data"></div>
</td>
</tr>
</table>
$(".a").parent("td").find(".data").html('1');
vs
$(".a").parent("td").find(".data:first").html('1');
when i press on the div with class .a – go to the first td above , and find the div with class .data and put there a value.
my test was :
search for .data and put value
vs
search for first .data and put value
However it seems that if im not spcifieing first , it is faster.
how can it be ?