This commit is contained in:
IdaTiegel99
2021-03-24 15:25:18 +01:00
parent 0419ecf707
commit 2293fc669e
6 changed files with 1115 additions and 4 deletions
+28 -2
View File
@@ -66,7 +66,7 @@ const renderCalendar = () => {
days += `<div class="today" onClick="clickdate()">${i}</div>`;
} else {
days += `<div onClick="clickdate()">${i}</div>`;
days += `<div class="today" ><span id="testEvent2"onClick="clickdate()"></span>${i}</div>`;
}
}
@@ -105,4 +105,30 @@ var myModal = document.getElementById('popup')
myModal.addEventListener('shown.bs.modal', function() {
myInput.focus()
})
})
//Admin add event
$("#indsend").click(function () {
let startDate = $("#startDate").val();
let endDate = $("#endDate").val();
let startTime = $("#startTime").val();
let endTime = $("#endTime").val();
console.log(`startDate ${startDate} \n
endDate ${endDate} \n
startTime ${startTime} \n
endTime ${endTime}`);
})
function addEvent() {
}
//Admin
/*
$(document).ready(function () {
$('#description').keyup(function () {
$(this).attr('size', $(this).val().length)
});
});
*/