html and js for monthly budget summary
This commit is contained in:
parent
c34815f23e
commit
34b8368e9b
2 changed files with 57 additions and 0 deletions
10
app/static/monthly_budget_summary.js
Normal file
10
app/static/monthly_budget_summary.js
Normal 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);
|
||||
})
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue