jQuery addClass example
Change class name on click in jQuery
by liggth
HTML
<link href="https://uxsolutions.github.io/bootstrap-datepicker/bootstrap-datepicker/css/bootstrap-datepicker3.min.css" rel="stylesheet">
<script src="https://uxsolutions.github.io/bootstrap-datepicker/bootstrap-datepicker/js/bootstrap-datepicker.min.js"></script>
<input type="text" class="form-control" id="calendar">
JavaScript
$('#calendar').datepicker({
});