[新着] Webテンプレートを仮オープンしました
<script type="text/javascript">
window.onload = function()
{
var dateSelector = document.getElementById("dateSelector");
var today = new Date();
for(var ix = 0; ix < 10; ix++) {
var option = document.createElement("option");
var date = new Date(today.getTime() + ix * 24 * 60 * 60 * 1000);
option.appendChild(document.createTextNode((date.getMonth() + 1) + "月" + date.getDate() + "日"));
option.value = (date.getMonth() + 1) + "/" + date.getDate();
dateSelector.appendChild(option);
}
}
</script>
<select id="dateSelector"><option></select>