ChangeDate – Date Picker Bootstrap

Be sure that the input has been loaded and then initialize the plugin.

Try on window.load:

$(window).load(function() {
   $('.date-picker').datepicker().
                    .on('changeDate', function() {
                       // Your ajax call
                    }); 
});

Leave a Comment