【发布时间】:2014-06-19 09:41:07
【问题描述】:
我在我的项目中使用了jquery-ui date picker。但它没有显示弹出窗口..这是代码。请帮助我..
<tr>
<td>Date of Submit<span class="red">*</span></td>
<td height="48">:</td>
<td height="48"><input type="text" id="dateof_sub" name="dateof_sub" class="normal">
<span class="red" id="date_submit_error"></span></td>
</tr>
<link rel="stylesheet" href="themes/base/jquery.ui.all.css">
<script src="ui/jquery.ui.core.js"></script>
<script src="ui/jquery.ui.widget.js"></script>
<script src="ui/jquery.ui.datepicker.js"></script>
<link rel="stylesheet" href="demos.css">
<script>
$(function() {
$( "#dateof_sub" ).datepicker({
changeMonth: true,
changeYear: true
});
});
</script>
【问题讨论】:
-
你没有包含 jQuery 文件
-
您是否收到任何 javascript 错误?
-
感谢您重播 Shaunak D 先生。但它仍然无法正常工作..它在其他页面中工作。
标签: jquery jquery-ui datepicker