[jQuery] UI Datepicker: how do i run custom event when month/year changes

[jQuery] UI Datepicker: how do i run custom event when month/year changes


For the life of me, I cannot figure out how to run my own event (in
addition to the events to change the calendar) when someone presses
"prev", "next", or changes either the month or year select items
Any pointers?
I have already tried like
$(".datepicker_prev > a").bind("click", MyEvent);
but it doesn't do anything
Thanks in advance