jquery countdown pause and resume feature?

user526094 picture user526094 · Dec 1, 2010 · Viewed 7.5k times · Source

i need to code to pause and resume jquery countdown . for this script: http://plugins.jquery.com/project/jquery-countdown

Answer

Fernando Almeida picture Fernando Almeida · Feb 12, 2013

With this plugin is very simple

http://keith-wood.name/countdown.html

$('#pauseButton').toggle(
    function() { 
        $(this).text('Resume'); 
        $('#pauseResume').countdown('pause'); 
    }, 
    function() { 
        $(this).text('Pause'); 
        $('#pauseResume').countdown('resume'); 
    } 
);