$(document).ready(function(){
$('.like-button').on('click',function(){
$.ajax({
url: "like.php",
type: 'POST',
data: {id: $(this).data("id")},
success: function(data){
$(".like_count").html(data);
}
});
$(this).toggleClass('like-active like_click');
});
});
<div class="like-button like-active" data-id="168">
<div class="like-btn">
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
</div>
<div class="like_count">1</div>
</div>
</div>
$(this, ".like_count").html(data);
но не получилось .