$.ajax({
url: 'addremove.php',
type: 'post',
data: {path: imgElement_src,request: 2},
success: function(response){
if(response == 1){
$('#content_'+num).remove();
}
}
});