JavaScript条件語句
1266 ワード
:
function myFunction1(){
var x;
var d = new Date().getDay();
switch (d){
case 0:x= " ";
break;
case 1:x= " ";
break;
case 2:x= " ";
break;
case 3:x= " ";
break;
case 4:x= " ";
break;
case 5:x= " ";
break;
case 6:x= " ";
break;
}
document.getElementById("demo1").innerHTML=x;
}