如何在选择日期后隐藏日历?有没有我可以使用的特定功能?我的代码如下:
$('#dp1').datepicker({
format: 'mm-dd-yyyy',
startDate: '-15d',
autoclose: true,
endDate: '+0d' // there's no convenient "right now" notation yet
});
Run Code Online (Sandbox Code Playgroud)
任何帮助,将不胜感激.