bootsrap datepicker event on selecting date code example
Example 1: datepicker select date programmatically bootstrap
$("#datepicker").datepicker("setDate", new Date);
Example 2: bootstrap datepicker on select event
$('.datepicker').datepicker()
.on(picker_event, function(e) {
// `e` here contains the extra attributes
});