prabhu p

prabhu p

  • NA
  • 181
  • 114.5k

Datepicker validation

Aug 30 2018 8:08 AM

I have two start date and end date ,based upon start datepicker  we want to disable end date

validation

1.Both start and end date must be in same Work week 
For example  start date 27/08/2018 (monday)  and to date will be max coming sunday of that week (02/09/2018) so we want disable from 03/09/2018.
 
For example start date 29/08/2018 (wednesday) and to date will be max coming sunday of that week (02/09/2018) so we want disable from 03/09/2018. 
 
 
For example start date 31/08/2018 (friday) and to date will be max coming sunday of that week (02/09/2018) so we want disable from 03/09/2018.  
 
Please help me on this using javascript or Jquery 
 
 

Answers (1)