Hi , I would be very grateful if someone could tell me how to run counter in the background . I mean for example count down 5 minutes , and that counter will not reload and start again from the beginning if page was refreshed. I think I will figure it out how to make a counter , but dont know how to make it to run in the backgorund(so it wont refresh) Thank you in advance
try setting a flag using cookies for example if the counter is elapsed set the flag=1 then in the counter function check if the flag is 1 if true dont start counter if false start the counter