-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcod.js
32 lines (22 loc) · 1 KB
/
cod.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//main setting page operation
document.getElementById('DebtPayoffPlan').addEventListener('click', function(event) {
window.location.href = "DebtPayoffPlan.html";
});
document.getElementById('FinancialGoal').addEventListener('click', function(event) {
window.location.href = "financialGoal.html";
});
document.getElementById('CategoriesIncludeTransactions').addEventListener('click', function(event) {
window.location.href = "home.html";
});
document.getElementById('ExportTransactionHistory').addEventListener('click', function(event) {
window.location.href = "ExportTransactionHistory.html";
});
document.getElementById('Security').addEventListener('click', function(event) {
window.location.href = "financialGoal.html";
});
//
//bottom click operation
document.getElementById('addNewGoal').addEventListener('click', function(event) {
window.location.href = "addGoal.html";
});
//save bottom to update database and nevigate back to financia goal page