But the main problem in your code is in the undefined variable type, instead you could use the is() function to check the current element node name like :
and your function still returns false if i choose a seperate date from a select like 02/16/1960
Coast Line
ASKER
console.log(results); is always false
Zakaria Acharki
I have adjusted your code a little bit, but the main issue was that you're not returning true in the valid date case so I have added `return true;` to your code.
that might be the problem, i am not sure completely sure, but this is not validating properly, please make it work, if the change is required, please do
Open in new window