Deleting is very relative...
All you really want is the user to not see it anymore. If you select the entire row, you can call toggle() on it, to make it hidden to the user. On the next page load it won't be there anyway (assuming your ajax request deleted it alright), so as long as it is hidden, it is as good as deleted...
Many ways to get back to the row. You can give it a unique ID of customerRow + the id.. so you have rows..
<tr id="customerRow1"> ... </tr>
<tr id="customerRow2"> ... </tr>
Then just call toggle on the element with the id customerRow + customerId
$("#customerRow" + customerId).toggle()
You could also add this as a parameter:
<table>
<tr><td>Customer info 1</td><td><a href="javascript:deleteCustomer(1,this);">Delete</a></td>
<tr><td>Customer info 2</td><td><a href="javascript:deleteCustomer(2,this);">Delete</a></td>
Your function would become:
function deleteCustomer(customerId,element) {
$.post("somepage.php", {cid:customerId}, function(data){
$(element).closest("tr").toggle()
});
}