I'm working on a countdown right now. The goal is to display multiple countdowns on a page. One countdown with an interval() is not a problem, but when it gets to two or more countdowns it will only display the last countdown.
Countdown structure:
<div value"..."> <div>
.html()
or .text()
Hope you can help me out.
try changing:
$(".timestamp").text(function(k){
return seconds[k];
});
with:
$(this).text(seconds[k]);