hi
i used a javascript countdown timer as:
<form name="counter"><input type="text" size="8"
name="d2"></form>
<script>
<!--
//
var min=5
var seconds=0
document.counter.d2.value='5'
function display(){
if (seconds<=0){
min-=1
seconds=60
}
if (min<=-1){
seconds=0
min+=1
}
else
seconds-=1
document.counter.d2.value=min+":"+seconds
setTimeout("display()",1000)
}
display()
-->
</script>
for clock ticking purpose.
and
<SCRIPT LANGUAGE="JavaScript"><!--
setTimeout('document.tform.submit()',300000);
//--></SCRIPT>
for auto submit purpose.
but the problem is when we are refresh the page the clock start again from the beginning . how i resolve the problem ??
plz help me.