发行演示
我刚刚遇到了jQuery UI数据报警器的一个问题,在这个问题上,月底有一些可点击的不可见元素。
使用这样一个相当基本的设置;
$('#start_date').datepicker({
selectOtherMonths: true,
changeMonth: true,
changeYear: true,
dateFormat: 'dd M yy',
minDate: 1,
maxDate: '+1y'
});我可以点击在屏幕截图中突出显示的黄色区域,然后它的作用就像点击一个有效的日期和错误的日期输出;

它没有发生在jqui datepicker网站上,但是我并没有对这个做任何花哨的事情,所以不明白为什么它会像这样崩溃?有什么想法吗?
发布于 2014-07-22 10:57:23
尝尝这个
$('#start_date').datepicker({
selectOtherMonths: false,
changeMonth: true,
changeYear: true,
dateFormat: 'dd M yy',
minDate: 1,
maxDate: '+1y'
});https://stackoverflow.com/questions/24885425
复制相似问题