I have a table that has some row with same value in rows like -
<table>
<thead>
<tr>
<th>Players</th>
<th>Country</th>
<th>ZIP Code</th>
</tr>
</thead>>
<tbody>
<tr>
<td>Jhon Doe</td>
<td>USA</td>
<td>53255343</td>
</tr>
<tr>
<td>Jhon Doe</td>
<td>USA</td>
<td>53255343</td>
</tr>
<tr>
<td>Etinee Gomes</td>
<td>Ghana</td>
<td>566682</td>
</tr>
</tbody>
</table>
I need to show first row of those rows which having same value. In this case first and second row having same data, need to show only first row. If table data (<td>) not same then leave as it. Is it possible using Jquery?
$.each()statement in jQuery, and search all the other rows for the value of each <td> to see if they match. Try writing some code yourself and come back here if you run into an issue.