JQuery getting the tr after clicking its content <a>
- by fishiefishie
Suppose I have
<table>
<tr>
<td><a class='ilink'> link text </a></td>
<td></td>
<td></td>
<tr>
<tr>
<td><a class='ilink'> link text </a></td>
<td></td>
<td></td>
</tr>
</table>
in the jquery code, after clicking the link, I want to highlight the entire table row that the link is in. But how can I find it?