I want to find a TD counter inside my TR where one of its TD matches my criteria. Here is the skeleton of my html structure,
<div class="pager">
<table class="pager_table">
<tbody>
<tr>
<td></td>
<td id ="sometextPager_left"></td>
<td></td>
...................
</table>
</div>
And my jQuery selection code:
$('div.pager > table.pager-table td[id$="Pager_left"] :parent tr > td').length
It seems my selector is not working,
thank
source
share