portfolio tracking

This commit is contained in:
Justin 2023-03-16 17:25:27 +08:00 committed by GitHub
parent 69c3e03e83
commit 5fa02883ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2406,3 +2406,26 @@ var specialChars = /[`!@#$%&*()_+\-=\[\]{};':"\\|<>\/?~]/;
}
document.getElementById("demo9").innerHTML = text;
}
// portoflio stuff
var portfolioCheckbox = document.getElementById("flexCheckChecked4");
if (portfolioCheckbox.checked) {
document.getElementById('stocks-portfolio').style.display = "block";
} else {
document.getElementById('stocks-portfolio').style.display = "none";
}
function portfolioValidate() {
var portfolioCheckbox = document.getElementById("flexCheckChecked4");
if (portfolioCheckbox.checked) {
document.getElementById('stocks-portfolio').style.display = "block";
} else {
document.getElementById('stocks-portfolio').style.display = "none";
}
}