Hi, I am having problem with this function.
$(document).ready(function(){ $('table.small td img.delete').click(function(){ $.get('ajax/update-callback.php', {doaction: 'remove', callbackid: $ (this).attr('id')}, function(data){ alert($(this).attr('id')); $(this).remove(); }); }); }); update-callback.php is called and the function is performed by php. However, in the callback function of the jQuery, $(this) is not available as alerting its attr('id') gives undefined which it happily added in the GET of the update-callback.php. Can you tell me what I could be doing wrong. Kind Regards,