onchange calendar date select code example
Example: datepicker on change
$("#datepicker").on("change",function(){
var selected = $(this).val();
alert(selected);
});
$("#datepicker").on("change",function(){
var selected = $(this).val();
alert(selected);
});