How do I hide the calendar after a date is selected? Is there a specific function that I can use? My code below:
$(\'#dp1\').datepicker({ format: \'mm-d
I got a perfect solution:
$('#Date_of_Birth').datepicker().on('changeDate', function (e) { if(e.viewMode === 'days') $(this).blur(); });