I am trying to implement date and time picker, I am getting the Uncaught TypeError: i.dateFormat is not a function at jquery.datetimepicker.min.js:2 on console.The below is my code.
$(document).ready(function(){
$('#datetimepicker').datetimepicker();
});
<link rel="stylesheet" href="/css/jquery.datetimepicker.css">
<script src="/js/jquery.js"></script>
<script src="/js/jquery.datetimepicker.min.js"></script>
<input id="datetimepicker" type="text" >
I am following the below link:
http://www.myjqueryplugins.com/jquery-plugin/datetimepicker#field_options
Try to change: <script src="/js/jquery.datetimepicker.full.min.js"></script>
jsFiddle
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With