jquery-mobile-datepicker-wrapper icon indicating copy to clipboard operation
jquery-mobile-datepicker-wrapper copied to clipboard

Getting a change event from a datepicker object

Open CristiCimpianu opened this issue 8 years ago • 0 comments

Due to the fact that by default you catch onSelect, change and input events it seems I can't attach a handler to any event in order to know when the field value changes. The only solution I found is to trigger a change event from your onSelect handler:

object.input.trigger("change");

CristiCimpianu avatar Nov 06 '16 10:11 CristiCimpianu