小编Fri*_*pie的帖子

Trent Richardson timepicker和datetimepicker的问题

我正在尝试实施Trent的时间选择器,但我无法做到.我正在Chrome,Firefox和IE9中测试它.

我已经导入了Jquery和Jquery UI.我能找到的唯一常见错误是Jquery UI不是完整版(没有幻灯片),但这不是我的情况.无论如何,错误如下

Cannot set property 'formatTime' of undefined (line ...)
$.datepicker.formatTime = function(format, time, options) { (this is the line)

Cannot call method '_newInst' of undefined
$t.datepicker($.timepicker._newInst($t, o)._defaults);
Run Code Online (Sandbox Code Playgroud)

我会感谢任何帮助,我是jQuery的新手,我真的没有得到它.

jquery jquery-ui datepicker datetimepicker timepicker

5
推荐指数
1
解决办法
5790
查看次数