<div class="news">
some news1
<button class="like" data-id="1">like</button>
</div>
<div class="news">
some news2
<button class="like" data-id="2">like</button>
</div>
$(document).on('click','.like',function(){
id = $(this).attr('data-id');
// твоя функция
funcLike(id);
});