#1
As promised, here is my second date/time picker question...

I want to run some ajax code after updating a couple of dates with the date/time picker, in a form.

(The code will update a list of available rooms for these dates, in a booking system).

The onchange event does not seem to work for this and the onblur event triggers as the datepicker opens.

Any idea what the best way of coding this?

I see there is an onclick function in trongate-datetime.js but I presume it is best not to edit this.

(Please be kind as I am great with PHP but terrrible with Javascript!)
#2
Is there a problem with this question as no one has viewed or commented on this!
#3
Hi for the date-picker, i have a temporary solution for the onchange event.
Add the following code at the end to the function clickDay in trongate-datetime.js


the resulting function should than be


This will not work for Time-Picker!
I will make a pull request for the date picker.
#4
Superb. Thank you. That's fixed it.