neillovell
Programmer
Hi all,
I have a javascript timer in my webpage at the moment, but users are complaining that when they close the browser window the timer stops running.
"So don't close it" I say but they didn't like that much.
So...how do I write a cookie that stores the time the START button is pressed, then calculates the difference between that and the current time when STOP is pressed?
I have a javascript timer in my webpage at the moment, but users are complaining that when they close the browser window the timer stops running.
"So don't close it" I say but they didn't like that much.
So...how do I write a cookie that stores the time the START button is pressed, then calculates the difference between that and the current time when STOP is pressed?