使用日期选择器无法 select 下一年的日期是怎么回事?
Am using datepicker unable to select next year date what is going wrong?
$(document).on('focus',".expdate",function(){
$('.expdate').datepicker({minDate:0});
$(this).datepicker();
$( ".expdate" ).datepicker('option', 'dateFormat' , 'dd/mm/yy');
即使我尝试使用 changeYear: true
试试这个
$(document).on('focus','.expdate',function(){
$('.expdate').datepicker({ minDate:0, dateFormat:'dd/mm/yy'});
});
$(document).on('focus',".expdate",function(){
$('.expdate').datepicker({minDate:0});
$(this).datepicker();
$( ".expdate" ).datepicker('option', 'dateFormat' , 'dd/mm/yy');
即使我尝试使用 changeYear: true
试试这个
$(document).on('focus','.expdate',function(){
$('.expdate').datepicker({ minDate:0, dateFormat:'dd/mm/yy'});
});