Skip to content Skip to sidebar Skip to footer

Countdown Timer Resets On Page Refresh

I'm trying to implement this countdown timer: http://codepen.io/ltzngr/pen/ysowF Every time the page loads, it resets! I don't want it to reset, I want it to continue to countdown

Solution 1:

set this string

var target_date = newDate().getTime() + (39000*3600*48); //

to timestamp of october

//year, month, day, hours, minutes, seconds, milliseconds
               var target_date =newDate(2014, 10, 3, 0, 0, 0, 0); 

Post a Comment for "Countdown Timer Resets On Page Refresh"