pg-calendar
pg-calendar copied to clipboard
is there any way to select date range via JavaScript in the calendar
I want to select the range on the fly. So please let me know if there is any way to select date range via JavaScript in the calendar.
Thanks :)
I was actually looking around for a similar answer, which may or may not suit your needs.
But if you have:
pickWeeks: true, multiple: true,
you can then use
$('.calendar').pignoseCalendar('set', '2021-11-08');
and it will set for the week range.
Hopefully that helps ya.
Can I set an arbitrary range of dates instead of a week? How to do that?