I had requirement for a datepicker
1. Allow to Select only current and previous date
Allow to select only current date and previous date. And
exclude Sunday from selection.
So if todays is Monday than enabled date should be last
Saturday and today (Monday).
2. Allow to select date from two days later from current
date
Allow to select date from two days later from current date .
And exclude Sunday from selection.
So if today is Friday then date selection should start on
next Monday. And if todays is Monday then date selection should start on next
Wednesday.
Here Is The Script
1. Allow to Select only current and previous date | |
Date1 : | |
2. Allow to select date from two days later from current date | |
Date2 : |
No comments:
Post a Comment