This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.onload = function() { | |
// 現在の年月の取得 | |
var current = new Date(); | |
var year = current.getFullYear(); | |
var month = current.getMonth() + 1; | |
// カレンダーの表示 | |
var wrapper = document.getElementById('calendar'); | |
add_calendar(wrapper, year, month); | |
} |