Hello,
so basically i've got a countdown timer which countsdown from 24hours to 0 and then resets.
What I would like is when the timer equals 0 (Midnight) then the page refreshes.
I've tried adding
Code:
location.reload(forceGet)
but cannot seem to get it going (I'm a bit of a noob)
Anyway here's the code and thanks in advance:

Code:
<script type="text/javascript">


function ShowTimes() {
  var now = new Date();
  var hrs = 23-now.getUTCHours();
  if (hrs < 10) hrs = '0'+hrs;
  var mins = 59-now.getUTCMinutes();
  if (mins < 10) mins = '0'+mins;
  var secs = 59-now.getUTCSeconds();
  if (secs < 10) secs = '0'+secs;
  document.getElementById('countdownToMidnight').innerHTML = hrs+':'+mins+':'+secs+'';
  
}
var _cntDown;
function StopTimes() {
	clearInterval(_cntDown);
	
}
</script>
<body onload="_cntDown=setInterval('ShowTimes()',0000)">

...........REST OF BODY..........

<div id="countdownToMidnight"></div>
Thanks for looking and I hope one of you can work this out better than me
Thanks