如何在代码
之后禁用日期选择器中的日期<input class="datepicker input-small" type="text" id="dpd1" required>
js code
<script>
$(document).ready(function() {
$('.datepicker').datepicker({
"autoclose": true
});
});
</script>
答案 0 :(得分:0)
<input class="datepicker input-small" type="text" id="dpd1" required>
js code
<script>
$(document).ready(function() {
$('.datepicker').datepicker({
minDate: 0
});
});