4
Answers

Why Jquery datepicker not work properly?

Dipak Shinde

Dipak Shinde

9y
554
1
 The javascript is :
<script type="text/javascript">
$(document).ready(function () {

alert('hi');
$("<%=txtDateDOC.ClientID%>").datepicker({

changeMonth: true,
changeYear: true,
hideIfNoPrevNext: false

});

});

</script> 
 
 The console error is : Use of getPreventDefault() is deprecated. Use defaultPrevented instead.
 
 
 
Answers (4)