求解 ! 怎么 不能显示内容,谁帮忙看下是哪里出错了,在线等
<script type="text/javascript">
functio zz(){
var bt=document.getElementById("day").value;
switch(bt){
case "1":
case "2":
document.write("学习英语");
break;
case "3":
case "4":
case "5":
document.write("学习后端");
break;
case "6":
document.write("学习UI设计");
break;
case "7":
document.write("学习前端");
break;
default:
document.write("请重新输入");
}
}
</script>
<div>请输入工作日</div>
<input type="text" id="day" />
<input type="button" name="button" value="查看工作安排" onclick="zz()" />