I use the latest Bootstrap datepicker.js. All works fine except that when I pick a date from the drop down, it does not automatically close it. I searched web and tried to u
Try this:
$('#selectDate').datepicker().on('changeDate', function(ev) { $('.datepicker').hide(); });