I need to deactivate specific dates using bootstrap
<script>
$(document).ready(function(){
var date_input=$('input[name="date"]');
var container=$('.bootstrap-iso form').length>0 ? $('.bootstrap-iso form').parent() : "body";
date_input.datepicker({
format: 'yyyy-mm-dd',
container: container,
minDate:new Date(),
disabledDates: ["2018-06-08","2018-06-10"],
autoclose: true,
})
})
</script>
Can anyone assist me with this? Appreciate it a lot