CAS

ID
Nazov / Name:
Popis / Description:
Dlzka / Length:
Testovane pod / Tested under:

 

060
p060.html / p060.zip
Cas vo formularovom riadku
644b
NN 4.04, IE 4.0

UKAZKA / CLICK HERE

Zdrojovy tvar / Source code:

<html> <head> <title> JavaScript DESTINATION - P060 </title> <SCRIPT> <!-- function runClock() { today = new Date(); hours = today.getHours(); minutes = today.getMinutes(); seconds = today.getSeconds(); timeValue = hours; timeValue += ((minutes < 10) ? ":0" : ":") + minutes; timeValue += ((seconds < 10) ? ":0" : ":") + seconds; document.clock.time.value = timeValue; timerID = setTimeout("runClock()",1000); timerRunning = true; } // --> </SCRIPT> </head> <body onLoad="runClock()"> <form NAME="clock" onSubmit="0"> <input TYPE="text" NAME="time" SIZE=10 VALUE =""> </form> </body> </html>
[ Navrat / BACK ]