I have a calendar widget that is using the onChangeMonthYear callback
to fire an ajax function every time a new month is chosen. Problem is,
the 'date' value that datepicker returns is only the year, no month.

With just this sample code, only the year is alerted:

$("#calendarWidget").datepicker({
                onChangeMonthYear: function(date){
                        alert(date);
                }
});

Is this a bug? Is there some other way to get the year AND month when
the month is changed?

Thanks much in advance.

AJ

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to