Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

datepicker get selected date

$(function() {
    $("#datepicker").datepicker();
    
    $("#datepicker").val();
    
    $("#datepicker").on("change",function(){
        var selected = $(this).val();
        alert(selected);
    });
});
 
PREVIOUS NEXT
Tagged: #datepicker #selected #date
ADD COMMENT
Topic
Name
8+1 =