eu tenho o seguinte :
html
<table id="tabela" cellpadding="0" cellspacing="0" border="0" class="display">
<thead>
<tr>
<th>Código</th>
<th>Nome completo</th>
<th>nome login</th>
<th>Email</th>
<th> </th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Joao da Silva</td>
<td>Joao</td>
<td>[email removido]</td>
<td><img entity_id="1" class="image-selector" src='imagens/grid_cancel.png' title='' /></td>
</tr>
.........
<tr>
<td>1</td>
<td>Jose da Silva</td>
<td>Jose</td>
<td>[email removido]</td>
<td><img entity_id="11" class="image-selector" src='imagens/grid_cancel.png' title='' /></td>
</tr>
</tbody>
</table>
Jquery
$("img.image-selector").click(function () {
idCancelar = $(this).attr("entity_id");
$("#confirmaExclusao").html("Deseja excluir o registro " + idCancelar + " ?");
$("#confirmaExclusao" ).dialog( "open" );
});
Como estou usando datatables, e está paginando, até o 10 registro, se eu clicar no link (imagem), ele passa pelo procedimento sem problemas, mas, a partir do 11, que está na outra pagina, não entra mais. Eu tirei do datatable, renomeei o id da table, e o link funciona legal, mas quando volto para o datatable, para de funcionar.
Alguém conhece datatable