There are two cell in a row and first cell has table and next cell has button. How can i find a button in next cell.
All the buttons in the last cell of each rows has same id, so i need to either find the last cell in the current row or the one next to next to current cell.
I am trying to enable button if any of the checkbox in the current cell is ticked.
<table>
<tr>
<td>
<table>
<tr>
<td><input id="Checkbox1" type="checkbox" /></td>
<td><input id="Checkbox2" type="checkbox" /></td>
</tr>
</table>
</td>
<td><input id="Button1" type="button" value="button" /></td>
</tr>
<tr>
<td>
<table>
<tr>
<td><input id="Checkbox1" type="checkbox" /></td>
<td><input id="Checkbox2" type="checkbox" /></td>
</tr>
</table>
</td>
<td><input id="Button1" type="button" value="button" /></td>
</tr>
</table>