html and js for monthly budget summary

This commit is contained in:
Yisroel Baum 2024-10-13 14:42:42 +03:00
parent c34815f23e
commit 34b8368e9b
2 changed files with 57 additions and 0 deletions

View file

@ -0,0 +1,10 @@
const monthSelector = document.getElementById('month-selector');
const tableBody = document.getElementById('table-body');
document.addEventListener("DOMContentLoaded", (event) => {
displayMonthLineItems(monthSelector.value);
monthSelector.addEventListener('change', (e) => {
displayMonthLineItems(e.target.value);
})
});