whisher — 2013-03-22T18:02:33-04:00 — #1
I'm struggling to find a way
to enable an user to pick the
first day of the week (you know the name monday
just in case ).
I need to set the datepicker
with only all the monday highlighted and pickable.
I'm wondering if there is a way I looking for it
googling just a lot with no luck.
So what's to you think about it ?
Do you know any other way to do that ?
(The widget goes for a daterange picker for a list of chart)
best regards ^^
tut I'm at my wits end
paul_wilkins — 2013-03-23T18:10:19-04:00 — #2
You can use the beforeShowDay method. In there, you can check if that day is a monday.
whisher — 2013-03-24T06:08:51-04:00 — #3
Thanks just a lot for the hint
coder911 — 2013-06-13T04:31:27-04:00 — #4
Have a look at "Disable Specific Dates" example in this article 5 jQuery UI Datepicker Examples. The beforeShowDay function allows you to specify a callback which you can use to disable arbitrary dates/day of week/etc.
whisher — 2013-06-13T11:38:14-04:00 — #5
Thanks for the usefull link