答案 0 :(得分:0)
使用 onClose 功能:
onClose: function() {
function isDonePressed(){
return ($('#ui-datepicker-div').html().indexOf('ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all ui-state-hover') > -1);
}
if (isDonePressed()){
//do your job
}
}