i have this
13
and I want to increment this number by +1 when I click a button
How can I do that
Try following
$('.likes').click(function() { $(this).text(+($(this).text()) + 1); });
(edited my initial post)