[英]How to disabled bootstrap date picker previous dates from current date and how to restrict or disabled after 90 day dates form date picker
[英]How to restrict user from selecting dates after 2months/60days from the date picker
http://xdsoft.net/jqplugins/datetimepicker/
$('#dob').datetimepicker({ format:'Ym-d', formatDate:'Ym-d', minDate: 0, // minDate:'-1970/01/02',//yesterday is minimum date(for today use 0 or -1970/01/01) // maxDate:'+1970/01/02'//tomorrow is maximum date calendar maxDate: '+1970/03/03' // two months later, the feb is a bit special. });
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.