Countdown Timer Jquery

  • 3 years-4 months

    Countdown Timer Jquery

    • Category : jquery
    • Viewed : 130 times
    • Posted On :
    • Posted by : Guley

    Display countdown timer using jQuery.

    <script type="text/javascript" src="" ></script>
    <span data-countdown="2017-09-25 12:10:01" ></span> // end date add here
    }, 300);            
    function initCountDown(){
        $('[data-countdown]').each(function() {
            var $this = $(this), finalDate = $(this).data('countdown');
            $this.countdown(finalDate, function(event) {
                $this.html(event.strftime('%D days %H:%M:%S'));

Report this or Ask your own question

Your Answer

When answering a question please:
  1. Read the question carefully.
  2. Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.
  3. If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome.
Let's work to help developers, not make them feel stupid.