Here’s my code for calling the fancybox dialog:
$('.btnUpdateitem').fancybox({
openEffect : 'elastic',
closeEffect : 'elastic',
});
Here’s my code for removing a specific table row:
$(this).closest('tr').remove();
But my table is based on ajax result:
Don’t know what context $(this) should refer to, so:
In the right context
Calling fancybox
Hope it helps a little