2012-06-19 88 views

回答

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 

     } 

}