Mandar Shinde

Mandar Shinde

  • 1.5k
  • 304
  • 5.9k

Regarding datepicker using Angular 6.

Jul 16 2019 2:34 AM
Dear All,
I was developing one component using Angular 6 and ASP .net MVC 5 with Rest Api.
I am just started using jquery in my project. I have successfuly installed jquery and bootstrap in Angular 6.
I am very new to use jquery. 
Now I can able to select multiple dates from a date picker using following code : -
  1. $('.datepicker').datepicker({           
  2.         startDate: new Date(),    
  3.         format: 'yyyy-mm-dd',    
  4.         multidate: true,    
  5.         daysOfWeekDisabled: [0],    
  6.         todayHighlight: true,    
  7.         daysOfWeekHighlighted: [1, 2, 3, 4, 5, 6]    
  8.       });  
How can I get those selected dates from date picker.
Please let me know if anyone have solution on this. 
Any suggestion will be accepted.
Thanking you in advanced,
Regards. 

Answers (1)