Created
December 11, 2020 18:44
-
-
Save Btibert3/0ad5b1f350699c87357cee81063e43e9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// const reqParent = document.getElementById("tfa_430"); | |
const birthDateString = document.getElementById("tfa_327"); | |
console.log(birthDateString); | |
const birthDate = Date(birthDateString); | |
console.log(birthDate); | |
const compareDate = Date(); | |
if (birthDate > compareDate) { | |
console.log("test compare is true"); | |
document.getElementById("tfa_430").checked = true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment