i know there is a lot of info about index() in jQuery. But my case is complicate and I need help.
<table>
<tbody>
<tr>
<td>abc</td>
<td><input type="checkbox"/></td>
</tr>
<tr>
<td>def</td>
<td><input type="checkbox"/></td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td>ghi</td>
<td><input type="checkbox"/></td>
</tr>
<tr>
<td>jkl</td>
<td><input type="checkbox"/></td>
</tr>
</tbody>
</table>
What i need is index of "tr" element in current "tbody" where i've just checked the box.