JavaScript calendar to accept only future date

Is there a calendar to display only future dates? What does the code look like?

+3
source share
2 answers

jQuery UI DatePicker can only be configured for future dates:

<script type="text/javascript">
$(function() {
    $("#datepicker").datepicker({minDate: 0});
});
</script>
+27
source

Source: https://habr.com/ru/post/1723299/


All Articles