I want to get the id of an image button inside of a gridview that is inside an updatepanel.
$("<%# gvLineItems.ClientID %> tr img[id*='ibDelete']").click(function() {
alert('hi');
$(this).fadeOut(1000, function() {
$(this).remove();
});
});
What I want to do is upon clicking a delete button I want to fade the row out of my grid view then completly remove it.
This is not workign but is not throwing any errors. I have this inside of $(document).ready()
Does anyone know what I am doing incorrectly?