Im using the jQuery Datepicker for date of birth input.
I want to show or append some text above the input field if the age of the person is less than 5 years old.
So im guessing i would get todays date as a variable and also todays date minus 5 years and then say: If their selected date is between today and (todays date minus 5 years) then show this message. But im struggling how to do so!
Aucun commentaire:
Enregistrer un commentaire