请问,这个是取得哪里的值?
<script type="text/javascript">
function clock(){
var time=new Date();
var attime;
attime=time.getHours()+":"+time.getMinutes()+":"+time.getSeconds();
document.getElementById("clock").value = attime; //就是这个"clock",的值是哪里的?
}
setInterval(clock,1000);
</script>
</head>
<body>
<form>
<input type="text" id="clock" size="50" /> //还有,这个clock又是啥意思
</form>
</body>