I am making a webpage and have used jquery-3.2.1.min.js , jquery-ui.min.js and animsition.min.js. I am using datepicker for capturing date using following code :-
$(document).ready(function() {
$("#datepicker").datepicker({
dateFormat: "dd-mm-yy" ,
navigationAsDateFormat: true,
onSelect: function() {
report_date= $("#datepicker").val();
}
});
});
In Body I have used simple code as:
Date: <input type="text" size="10" id="datepicker">
Problem is that when i use the datepicker to get date and click on next month it initally shows new month but then navigates to another page with message "The requested URL /undefined was not found on this server". I tried checking up in chrome developer option and concluded that the mouse click event is being captured by animsition.min.js and probably this is taking it to a new undefined page. On disabling this event in chrome the datepicker worked correctly. But how do I do this in my code ??