我的学习作业

Original 2019-03-10 23:17:35 174
abstract:<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Document</title> </head> <body> 当前时间:<input id="tim"&n
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
当前时间:<input id="tim" type="submit" value=" " onclick="change" style="width:358px;height:60px;border:1px solid red;">
</body>
<script>
var inp=document.getElementsById('tim');
var d=new Date();
inp.value=d;
function change(){
var inp=document.getElementsById('tim');
var d=new Date();
inp.value=d;
}
</script>
</html>


Correcting teacher:韦小宝Correction time:2019-03-11 09:04:19
Teacher's summary:写的还算是不错 js中的时间函数还是比较好掌握的 和我们用的英文单词还是有些挂钩的

Release Notes

Popular Entries