THE SCRIPT bELOW PASSED THE SECOND TO 0 (STARTING FROM 1500 SECOND) I NEED 1500 SECONDS THAT SHOW AS 00:25:59, 00:25:58................00:25:01...00:24:00...00:24:59........................UNTILL 00:00:00.
PLZ HELP ME
<HTML>
<BODY>
<script language="javascript" type="text/javascript">
var myTime = "1500";
function countDown() {
document.form.seconds.value = "00:25:" + (myTime < 10 ? "0" + myTime : myTime);
if (myTime == 0)
{
location.href="trivia1.php";
}
else if (myTime > 0)
{
myTime--;
setTimeout("countDown()",1000);
}
}
</script>
<body onload="countDown();">
<form name="form">
Time Left: <input type="text" name="seconds" size="10">
</form>
</body>
</HTML>