Answers for "disable the past date in datepicker"

1

jquery datepicker no past dates

$("#datepicker").datepicker({ minDate: 0 });
Posted by: Guest on June-05-2020
-2

disable past date in inpit date picker

$(function(){
    var dtToday = new Date();
    
    var month = dtToday.getMonth() + 1;
    var day = dtToday.getDate();
    var year = dtToday.getFullYear();
   
    $('#txtDate').attr('min', maxDate);
});
Posted by: Guest on January-27-2021

Code answers related to "disable the past date in datepicker"

Code answers related to "Javascript"

Browse Popular Code Answers by Language