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
This is working for me.
$(".date-picker").datepicker( { format: "yyyy-mm-dd", }).on('change', function (ev) { $(this).datepicker('hide'); });