So I'm using keith wood countdown plugin.
$('#shortly').countdown({until: shortly,
onExpiry: liftOff});
works as expected.
The thing is I need to disable the onExpiry when the user click on some button. I mean to break the countdown and not to execute the callback method, in the example above not to fire liftoff method.
AnyIdea ?
Well, he's got pretty good documentation on his site:
http://keith-wood.name/countdownRef.html
$(selector).countdown('destroy')
or
$(selector).countdown('pause')
both seem like good places to start.