Часы в текстовом поле. Вариант 1.
<script language="JavaScript">
function fulltime()
{
var time=new Date();
document.clock.full.value=time.toLocaleString();
setTimeout(" fulltime()",500) }
</script>
<center>
<form name=clock>
<input type=text size=17 name=full></form>
<script language="JavaScript">fulltime();</script>
</center>
|