I have the html
<span class="offersReceivedCount">3</span>
and I want to run code when the 3 value changes to something else. I'm using handlebars so the real html looks like
<span class="offersReceivedCount">{{offers}}</span> Offers Received</p>
I tried
$(".offersReceivedCount").change(function(){
console.log("change");
});
But this never logs anything when the value of {{offers}}
changes
Do I need a different event type or maybe try different approach?