Simple countdown demo Created for this Stackoverflow question http://stackoverflow.com/questions/28996794/show-reset-button-after-counter-reaches-zero. JSfiddle demo of the code You can find the same code here at jsFiddle.