[Solved] Date of birth JavaScript function stopped working
Looked for a completely new bit of script and below is an example of a working date of birth function: <p>Xxxx <script> function getAge(DOB) { var today = new Date(); var birthDate = new Date(DOB); var age = today.getFullYear() – birthDate.getFullYear(); var m = today.getMonth() – birthDate.getMonth(); if (m < 0 || (m === 0 … Read more