I am currently running a function on change when a user changes the value of a choice field. This function uses the date (previously selected) to filter items for another drop-down list. However, in the event that a user has already selected "Yes" from the choice field and wishes to change the date, I would also like to trigger that filtering function when the date is changed on the default SharePoint date field.
I can get it to work if the user manually types in the date box and clicks off of it: (this is sitting in document ready)
$('#specificDateFieldID').on('change', function(){
var date = this.value;
queryEvents(date);
});
Does anyone know how to trigger this event listener when a user clicks the little calendar icon and changes the date there instead of just typing in the box manually?
I can post more code if this is not enough. Thanks!