SCRIPT中页面时间变成0后怎么提交给JAVA文件
SCRIPT中页面时间变成0后怎么提交给JAVA文件
<SCRIPT language=JavaScript>
<!--
var now = new Date()
function showtime(){
hours=document.time.face1.value
minutes=document.time.face2.value
seconds=document.time.face3.value
runtime()
}
function runtime() {
var h= ((hours < 10) ? "0 ": " " ) + hours
var m= ((minutes < 10) ? "0 ": " " ) + minutes
var s= ((seconds < 10) ? "0 ": " " ) + seconds
document.time.face.value = h+ ": "+m+ ": "+s
if(hours==0&&minutes==0&&seconds==0) {
这里要写什么
}
else if(hours> 0||minutes> 0||seconds> 0) {
if(minutes==0&&seconds==0){
minutes=60;
hours--;
}
if(seconds==0&&minutes!=0){
seconds=60;
minutes--;
}
seconds--;
}
setTimeout( "runtime() " ,10)
}
-->
</SCRIPT>
<FORM &n