multiple countdown timer js

Solutions on MaxInterview for multiple countdown timer js by the best coders in the world

showing results for - "multiple countdown timer js"
Silvana
06 Jan 2021
1$('[data-countdown]').each(function() {
2  var $this = $(this), finalDate = $(this).data('countdown');
3  $this.countdown(finalDate, function(event) {
4    $this.html(event.strftime('%D days %H:%M:%S'));
5  });
6});
Benjamin
12 Feb 2017
1<div data-countdown="2016/01/01"></div>
2<div data-countdown="2017/01/01"></div>
3<div data-countdown="2018/01/01"></div>
4<div data-countdown="2019/01/01"></div>
Marion
01 Aug 2017
1<div data-countdown="2021/01/01"></div>
2<div data-countdown="2021/01/01"></div>
3<div data-countdown="2021/01/01"></div>
4<div data-countdown="2021/01/01"></div>