datepickr
datepickr copied to clipboard
Add events to actions
Events could be fired when a date is picked, or when the calendar is opened, or anywhere else where it might be useful.
This would be helpful when implementing any custom functionality that isn't already standard in the base code.
I was just searching on how to do this. When the user picks the date it is written to a hidden field. I need to read the date and blast it to the server.
So, how can I know when the date is selected? Maybe I need to monitor the hidden field.
Looking for the same thing as @Mark-Mark noticed. Would be good to have a 'onSelect' event. Is there any work around?
Not that I know of, sorry, this code is super outdated and I havent had time to work on it... I would end up doing a complete rewrite if/when I got around to it. The world of JS has changed considerably since I wrote this and it hurts my eyes looking back at this code 😜