I want to restrict datepicker taking future date . This is my jquery code
<script type="text/javascript">
$(document).ready(function () {
$('.datepicker').datepicker({
format: "mm/dd/yyyy",
autoclose: true,
});
});
</script>
Home / DeveloperSection / Forums / how to restrict bootstrap date picker from future date
I want to restrict datepicker taking future date . This is my jquery code
<script type="text/javascript">
$(document).ready(function () {
$('.datepicker').datepicker({
format: "mm/dd/yyyy",
autoclose: true,
});
});
</script>
Sunil Singh
13-Dec-2017Try this code