jquery countdown pause and resume feature? -
i need code pause , resume jquery countdown . script: http://plugins.jquery.com/project/jquery-countdown
use plugin's stop
function, this:
<span id="count">8</span> <input type="button" id="pause" value="pause" /> <input type="button" id="resume" value="resume" />
and js:
function start() { $('#count').countdown({seconds: parseint($('#count').text())}); } function pause() { $('#count').countdown.stop(); } $('#pause').click(pause); $('#resume').click(start); start();
look @ working here.
Comments
Post a Comment