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