【发布时间】:2014-09-11 10:21:42
【问题描述】:
在我的输入日历中单击时不会出现....这是我的代码 js...
<link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.1/themes/smoothness/jquery-ui.css" />
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.1/jquery-ui.min.js"></script>
<script>
$(function() {
$("#dp1").datepicker();
});
</script>
这是我的html
<input type="text" id="dp1">
我导入了错误的文件...有什么建议吗?太棒了
【问题讨论】:
-
你没有包含主 jquery.js 文件。
-
我在哪里可以找到它?
-
这里 - jquery.com/download
标签: javascript jquery html datepicker