您应该在Jquery选择器中的类名之前添加“.” $('.client'+密钥)
$('.delete_btn').click(function(){ var key = $(this).attr("key"); $('.client'+key).remove(); });