[英]Uncaught TypeError: i.dateFormat is not a function at jquery.datetimepicker.min.js:2 (anonymous)
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. 我正在尝试实现日期和时间选择器,我得到Uncaught TypeError:i.dateFormat不是jquery.datetimepicker.min.js:2上的函数在控制台上。下面是我的代码。
$(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 http://www.myjqueryplugins.com/jquery-plugin/datetimepicker#field_options
尝试更改: <script src="/js/jquery.datetimepicker.full.min.js"></script>
jsFiddle
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.