$("#stpartdate").datepicker({
picker: "<button class='calpick'></button>",
onReturn:function(d){
$("#stpartdate").val(d.Format("m/d/Y"));
$("#etpartdate").val(d.format('m/d/yy'));
}
});
以上代码显示以下错误,
TypeError: d.Format is not a function
$("#stpartdate").val(d.Format("m/d/Y"));
任何帮助