Answers for "disable past date in inpit date picker"

-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

Browse Popular Code Answers by Language