1$(function() {
2 $("#datepicker").datepicker();
3
4 $("#datepicker").val();
5
6 $("#datepicker").on("change",function(){
7 var selected = $(this).val();
8 alert(selected);
9 });
10});
1if(this.selected){
2 console.log(this.selected.endDate.format("DD-MMMM-YY"); // need to show date in DD-MMMM-YY Format
3}
4