I have a Gravity Form with a datepicker field. I'm trying to attach some code to the datepicker field onchange:
$(window).bind('load', function() {
alert('test');
$("#input_7_25").on('change', function() {
alert('testing date');
});
});
However, I placed this code in the footer of the website. When I load the page with the form, I get the first alert ("test") but when I choose a date in the datepicker (has id of input_7_25) and that date is added to the input field, nothing happens ... the onchange event is not firing, and I get no alert for "testing date" - no errors in the console, nothing pointing to why this wouldn't work.
Are there any methods I could use to determine why the onchange event is not firing?