skip to Main Content

Bootstrap datepicker maxdate not working-Twitter bootstrap

jQuery: $("#min").datepicker({maxDate: 0, changeMonth: true, changeYear: true }); $("#max").datepicker({maxDate: 0, changeMonth: true, changeYear: true }); <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0/js/bootstrap.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.7.1/js/bootstrap-datepicker.min.js"></script> <input type="text" class="form-control" name="from" id="min"> <span class="input-group-addon"> to </span> <input type="text" class="form-control" name="to" id="max"> Anyone can please tell me…

VIEW QUESTION
Back To Top
Search