I have a Datatable, that renders two imagebuttons in the first two coloumns
<tr>
<td>Button 1
<td>Button 2
</tr>
<tr>
<td>Value<td/>
I'm trying to capture the value for the corresponding click using this:
$('[id$=releaseMessage]').click(function () {
alert($('td:eq(2)', this).html());
});
$('[id$=deleteMessage]').click(function () {
alert($('td:eq(2)', this).html());
});
the Value is different for each row, so I can use something like this:
tr:eq(0) td:first-child
as this will always return the first td value.