jQuery.countdown icon indicating copy to clipboard operation
jQuery.countdown copied to clipboard

Having trouble using woth foreach loop in php

Open YAseerALy opened this issue 4 years ago • 1 comments

Each iworking fine with html code..but when uses same class in php loop never get it to work

YAseerALy avatar Dec 03 '21 15:12 YAseerALy

use update.countdown method;

$('.d24').each(function(){

var timee = $(this).val(); $(this).countdown(timee).on('update.countdown', function(event) { $(this).val(event.strftime('%w weeks %d days %H:%M:%S')); });

});

darkcavalry avatar Jan 18 '22 19:01 darkcavalry