datepickr icon indicating copy to clipboard operation
datepickr copied to clipboard

Add events to actions

Open joshsalverda opened this issue 10 years ago • 3 comments

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.

joshsalverda avatar Nov 18 '14 05:11 joshsalverda

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.

Mark-Mark avatar May 26 '15 03:05 Mark-Mark

Looking for the same thing as @Mark-Mark noticed. Would be good to have a 'onSelect' event. Is there any work around?

setu123 avatar Jan 31 '18 22:01 setu123

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 😜

joshsalverda avatar Jan 31 '18 22:01 joshsalverda