Quantcast
Viewing all articles
Browse latest Browse all 82150

Confirmation to delete a row

Hello Allan,
I use server_side to recover my data.
To delete a user I created a link with fnRowCallback this way:
$('td:eq(3)', nRow).html( '<a href="?id_abonne='+ aData['cle'] +'" class="delete" abonne="'+ aData['mail'] +'" ><img src="/back_office/images/template/icon16-delete.png" border="0" class="icon16 infobulle"></a>');
To confirm the deletion request I use Jquery script that detects the class "delete" and displays a confirmation message.

The problem is that the confirmation message is no longer displayed with this method.
If I put the hard link in the page it function.

Thank you for your help

Viewing all articles
Browse latest Browse all 82150

Trending Articles