2
Reply

How to validate a selected date in Jquery ?

Ask a question
Saroj Kumar Sahu

Saroj Kumar Sahu

11 years ago
1.3k
1
Hi ,
i'm new to jquery.In my application am using a date picker.can anyone tell me,How to validate a selected date in Jquery.
the condition is that after user select a date
it will validate that the date is current date or yesterday date.other than this will show error message.if yesterday is saturday or sunday(i.e holiday) then
user should allow to select friday.

Answers (2)