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

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -