try this. You will have to alter the expression at the start and create a webservice to handle the callback.
<script type="text/javascript" language="javascript">
var expression = "div.deleteable";
jQuery(function($) {
$(expression).click(function(){
var itemId = $(this).attr("Id");
$.ajax({ type: "POST",
url: "YourPage.aspx/DeleteItem",
data: "{'Id' :'" + itemId + "'}",
dataType: "json",
contentType: 'application/json; charset=utf-8',
success: function(json) {
$(this).slideUp('fast',function(){
//gone - perhaps report to the user that delete was successful,
//by accessing jason.d
var result = eval("(" + json.d + ")");
$(this).remove();
});
},
timeout: 5000,
error: function(XMLHttpRequest, textStatus, errorThrown) {
if (textStatus == 'timeout') {
alert('timeout');
}
//Other error handlers here
}
});
});
});
</script>
in your page codebehind file:
[ScriptMethod(ResponseFormat = ResponseFormat.Json)]
[WebMethod]
public static string DeleteItem(string Id)
{
//Returns a json string with success message
var result = YourBusinessLayerClass.DeleteItem(Id);
return result;
}