lucianocosta/jquery.mtz.monthpicker — Issue #1: onSelect-event
Author: dhstocker
Created: 2011-10-24 19:39:01+00:00
State: open

jQuery's datepicker includes an onSelect-event, which triggers, when a new date is selected. I tried implementing such behavior with the monthpicker and did not suceed.

onChange on the input-field itself has no effect. onBlur triggers, but a bit too soon, so that the old value gets passed to the function.

Other possible approaches could be a hidden input-field with an onChange-event, but monthpicker doesn't seem to provide the required altField-attribute like the datepicker.

Thanks a lot for looking into it, Lucian!

P.S.: I have no idea what a github-issue is supposed to look like! :)