Uncaught TypeError: $(...).countDown is not a function
les adjunto el codigo por favor ayúdenme
Código HTML:
<!-- Countdown dashboard start --> <div id="countdown_dashboard"> <div class="dash weeks_dash"> <span class="dash_title">weeks</span> <div class="digit"><?=$date['weeks'][0]?></div> <div class="digit"><?=$date['weeks'][1]?></div> </div> <div class="dash days_dash"> <span class="dash_title">days</span> <div class="digit"><?=$date['days'][0]?></div> <div class="digit"><?=$date['days'][1]?></div> </div> <div class="dash hours_dash"> <span class="dash_title">hours</span> <div class="digit"><?=$date['hours'][0]?></div> <div class="digit"><?=$date['hours'][1]?></div> </div> <div class="dash minutes_dash"> <span class="dash_title">minutes</span> <div class="digit"><?=$date['mins'][0]?></div> <div class="digit"><?=$date['mins'][1]?></div> </div> <div class="dash seconds_dash"> <span class="dash_title">seconds</span> <div class="digit"><?=$date['secs'][0]?></div> <div class="digit"><?=$date['secs'][1]?></div> </div> </div> <!-- Countdown dashboard end -->
Código HTML:
<script language="javascript" type="text/javascript"> jQuery(document).ready(function() { $('#countdown_dashboard').countDown({ targetDate: { 'day': <?=$config['targetDate']['day']?>, 'month': <?=$config['targetDate']['month']?>, 'year': <?=$config['targetDate']['year']?>, 'hour': <?=$config['targetDate']['hour']?>, 'min': <?=$config['targetDate']['minute']?>, 'sec': <?=$config['targetDate']['second']?> } }); }); </script>