Simple disappearing effect
This sample will show you how to make something disappear when an image button is clicked.(view demo)

When theĀ X is clicked, it will find its parent elementĀ and animate its opacity=hide with slow speed.
$(document).ready(function(){
$(".pane .delete").click(function(){ $(this).parents(".pane").animate({ opacity: "hide" }, "slow");
});
});