I have a counter and I'm trying to retrieve that number with jquery and add to it.
<div id='counter'>
32
</div>
So I'm trying to get the 32 with jquery and then add to it, +1.
var counter = $('#counter').text();
var counterPlus = counter++;
Is this supposed to work? It doesn't work for me