分别在以下三处加上$this.change();
$days.not('.disabled').click(function(){
var $day=$(this);
if(!dp.hasTime()){
$this.val(dp.formatDate(dp.changeDay($day.attr("day"),$day.attr("chMonth"))));
closeCalendar();
$this.change();
}else{
$days.removeClass("slt");
$day.addClass("slt");}});
$(setting.clearBut$).click(function(){
$this.val("");
closeCalendar();
$this.change();});
$(setting.okBut$).click(function(){
var $dd=$(setting.days$).find("dd.slt");
if($dd.hasClass("disabled"))return false;
var date=dp.changeDay($dd.attr("day"),$dd.attr("chMonth"));
if(dp.hasTime()){
date.setHours(parseInt($(setting.hour$).val()));
date.setMinutes(parseInt($(setting.minute$).val()));
date.setSeconds(parseInt($(setting.second$).val()));}
$this.val(dp.formatDate(date));
closeCalendar();
$this.change();});