- jquery revert time left to time spend .setTimeout()
- function win() {
- clearTimeout(timer);
- $('#panel').hide();
- var timeElapsed = 30 - seconds;
- $('#won').fadeIn('slow').html('<span class="">You click all div's in ' + timeElapsed + ' seconds</span>');
- }