I am using jQuery UI datepicker, I know I can customize this datepicker in this way:
$("#reserve_date").datepicker({
beforeShowDay: no_disabled_Days
});
currently, my datapicker calendar start weeks from Sunday, I would like it starts weeks from Monday, how to do??
$( ".selector" ).datepicker({ firstDay: 1 });
jQuery UI Reference; see the link for a slightly more detailed explanation.
For inline reference:
Sunday 0
Monday 1
Tuesday 2
Wednesday 3
Thursday 4
Friday 5
Saturday 6
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With