0

我运行 jquery-1.8.0-min.js 和 jquery-ui-1.8.23.custom.min.js 的安装 <script>;后者被设置为包括所有内容,尤其是日期选择器。

之后,我有运行的 JavaScript:

jQuery(function()
    {
    jQuery('#event_date').datepicker();
    });

在 Chrome 中,这给出了错误:

Uncaught TypeError: Object #<Object> has no method 'datepicker' logistic.js:777
(anonymous function) logistic.js:777
p.Callbacks.k jquery.js:2
p.Callbacks.l.fireWith jquery.js:2
p.extend.ready jquery.js:2
D

当我在浏览器中检查它时,当我单击应该被日期选择器替换的文本字段时,没有发生任何有趣的事情;它只是得到关注。

有什么想法(不是?)这里发生了什么?

4

0 回答 0