Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/69.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/jquery-ui/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jquery 日期选择器不显示弹出窗口_Jquery_Jquery Ui_Datepicker - Fatal编程技术网

Jquery 日期选择器不显示弹出窗口

Jquery 日期选择器不显示弹出窗口,jquery,jquery-ui,datepicker,Jquery,Jquery Ui,Datepicker,我已经在我的项目中使用了。但是它没有显示弹出窗口。这是代码。请帮助我 <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

我已经在我的项目中使用了。但是它没有显示弹出窗口。这是代码。请帮助我

<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>

您需要包含jqueryreferece,才能让jQueryUI工作-请参阅

这两个参考资料足够了-


你还没有包括jQuery文件,你有javascript错误吗?谢谢你重播Shaunak D先生。但它仍然不工作。它在其他页面工作。
<script src="//code.jquery.com/jquery-1.10.2.js"></script>
<script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script>