看看我的错哪了。。
var mpt=new Date();
var app=mpt.getDay();
var qe=["星期日","星期一","星期二","星期三","星期四","星期五","星期六"];
switch(app){
case "1": document.write(qe[1]);break;
case "2": document.write(qe[2]);break;
case "3": document.write(qe[3]);break;
case "4": document.write(qe[4]);break;
case "5": document.write(qe[5]);break;
case "6": document.write(qe[6]);break;
case "7": document.write(qe[0]);break;
};
为什么输不出呢??