Hi there!
$('#calendar').datepicker({
changeMonth: false ,
changeYear: false ,
onChangeMonthYear: function(year, month, inst) {
$.getJSON("json.js", function(json){
...
});
}
});
I would like to if onChangeMonthYear firing after the new month has
been loaded.
I tried to following lines I read another post but wont worked:
$.datepicker.oldAdjustDate = jQuery.datepicker._adjustDate;
$.datepicker._adjustDate = function(id, offset, period) {
//overriding a datepicker core function
this.oldAdjustDate(id, offset, period); //to ensure that the old
code still runs
this._notifyChange($.datepicker._curInst); //this ensures that the
onChangeMonthYear event is fired correctly
}
Have anybody any idea how can I do that ?
Thomas
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---