代码:
$(function() {
$("#businessDatepicker").datepicker({
changeMonth: true,
changeYear: true,
});
});
如何获取月份和年份更改事件?
答案 0 :(得分:0)
$(function() {
$("#businessDatepicker").datepicker({
changeMonth: true,
changeYear: true,
onChangeMonthYear: function () {
alert('y');
}
});
});