为什么我的不显示啊
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Document</title>
<style type="text/css">
#show{width:200px;height:100px;background:#0ff;}
</style>
<script language="javascript" type="text/javascript">
window.onload=function(){
var myDate=new Date();
var year=myDate.getFullYear();
var month=myDate.getMonth()+1;
var date=myDate.getDate();
document.getElementById("show").innerHTML=year+"年"+month+"月"+date+"日";
}
</script>
</head>
<body>
<div id="show">显示时间的位置</div>
</body>
</html>