Ekapp/skolehjem/resources/js/sites/menuplan.js

12 lines
211 B
JavaScript

function startMenuplan() {
updateWeek();
startMenu();
}
function updateWeek() {
var elm = document.getElementById('week');
var date = new Date();
elm.innerHTML = "Uge " + date.getWeek();
}