stefangabos / Zebra_Datepicker

A super-lightweight, highly configurable, cross-browser date time picker jQuery plugin
https://stefangabos.github.io/Zebra_Datepicker/
Other
399 stars 183 forks source link

How to get the selected day when changing view? #162

Closed leomat closed 4 years ago

leomat commented 4 years ago

Hi,

I would like to set up the date picker with classic options: date and hours enabled. When the user selects a date, I would like to update the hours enabled (different working hours for a store).

I wanted to retrieve the user choice by the "onChange" function, but the view and elements variables don't contain this information.

Is there a way to do that? If not, would it be easy for you to code ?

Thanks for you answer.

And sorry for my English :/

stefangabos commented 4 years ago

Have a look at this

leomat commented 4 years ago

Thanks for the quick reply !