DataTables with eonasdan DatePicker not working

I have problems with eonasdan DatePicker , I don’t understand what I messed up ... I think I checked that all the necessary resources, but when I click on the calendar icon, nothing happens: \

Live Code: Live Example


I followed installation instructions and guidance and demos .

Citation:


JQuery
Moment.js
Bootstrap.js minimum requirements (jump and crash are necessary if you are not using full Bootstrap)
Bootstrap Datepicker script
Bootstrap CSS
Bootstrap
Datepicker CSS Locale: local moment files here

Required Scripts:

<script type="text/javascript" src="/path/to/jquery.js"></script>  
<script type="text/javascript" src="/path/to/moment.js"></script>  
<script type="text/javascript" src="/path/to/bootstrap/js/transition.js"></script>  
<script type="text/javascript" src="/path/to/bootstrap/js/collapse.js"></script>  
<script type="text/javascript" src="/path/to/bootstrap/dist/bootstrap.min.js"></script>  
<script type="text/javascript" src="/path/to/bootstrap-datetimepicker.min.js"></script>  

CSS styles

<link rel="stylesheet" href="/path/to/bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css" />  
0
1

, , , , ! .

, script Github, ! cdnjs. PLease Github.

JSFiddle .

, , datetimepicker ( 65). -, DOM. , , !

,
"fnDrawCallback": function() {
    $(".date").datetimepicker();
}
+2

Source: https://habr.com/ru/post/1653087/


All Articles