// ========================================================== // 今日限定 // ========================================================== ;(function($) { const todaySale = $('.combosBox') if(todaySale.length) { // 倒數計時器 todaySale.find('.timerbox').each(function(i, ele) { const target = $(ele) function outputFunc(input) { target.html(input) } CountDown(target, outputFunc) }); } })($)