document ready function pane delete click function this parents pane a

1
2
3
4
5
$(document).ready(function(){
$(".pane .delete").click(function(){
$(this).parents(".pane").animate({ opacity: "hide" }, "slow");
});
});