Datepicker : trigger change event when selecting date

I added a trigger('change') to the date input because in my code I need to be able to know when the date is changed.