i have this
<div class="likes">13</div>
and I want to increment this number by +1 when I click a button
How can I do that with jQuery?
$('btn').click(function() {
$('.likes').text();
});
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…