Answers for "datepicker get selected date"

0

datepicker get selected date

$(function() {
    $("#datepicker").datepicker();
    
    $("#datepicker").val();
    
    $("#datepicker").on("change",function(){
        var selected = $(this).val();
        alert(selected);
    });
});
Posted by: Guest on January-14-2021
0

get datepicker value date

if(this.selected){
  console.log(this.selected.endDate.format("DD-MMMM-YY"); // need to show date in DD-MMMM-YY Format
}
Posted by: Guest on May-05-2021

Code answers related to "datepicker get selected date"

Code answers related to "Javascript"

Browse Popular Code Answers by Language