Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/.net/20.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
codeigniter上的日期选择器_Codeigniter_Datepicker - Fatal编程技术网

codeigniter上的日期选择器

codeigniter上的日期选择器,codeigniter,datepicker,Codeigniter,Datepicker,我有一个Datepicker,它完全在test_Datepicker.html中工作。这是我的密码: <!DOCTYPE html> <html> <head> <title>Date Picker</title> <link rel="stylesheet" href="http://code.jquery.com/ui/1.11.4/themes/smoothness/jq

我有一个Datepicker,它完全在test_Datepicker.html中工作。这是我的密码:

    <!DOCTYPE html>
    <html>
     <head>
       <title>Date Picker</title>
       <link rel="stylesheet" href="http://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css" >
       <script src="http://code.jquery.com/jquery-1.10.2.js"></script>
       <script src="http://code.jquery.com/ui/1.11.4/jquery-ui.js"></script>

       <script type="text/javascript">
        $(function() {
         $( "#datepicker" ).datepicker();
        });
       </script>
     </head>
     <body>

日期拾取器
$(函数(){
$(“#日期选择器”).datepicker();
});


这是可行的,但当我用php在我的ci上同步时,代码就不起作用了

http://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css" ?>' > http://code.jquery.com/jquery-1.10.2.js“?>”>


http://code.jquery.com/ui/1.11.4/jquery-ui.js“?>”>


$(函数(){
$(“#日期选择器”).datepicker();
});


雇员
分支机构
任命
雇用日期
>


我在这上面使用了table标签。

http://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css" ?>' > http://code.jquery.com/jquery-1.10.2.js“?>”>


http://code.jquery.com/ui/1.11.4/jquery-ui.js“?>”>


$(函数(){
$(“#日期选择器”).datepicker();
});


雇员
分支机构
任命
雇用日期
>


我正在使用table标记。

尝试将以下代码粘贴到body标记之前

<script type="text/javascript">
        $(function() {
         $( "#datepicker" ).datepicker();
        });
</script>

$(函数(){
$(“#日期选择器”).datepicker();
});

尝试将以下代码粘贴到body标记之前

<script type="text/javascript">
        $(function() {
         $( "#datepicker" ).datepicker();
        });
</script>

$(函数(){
$(“#日期选择器”).datepicker();
});
我刚刚解决了…:)干杯


$(“#日期选择器”).datepicker();

当我在google Chrome中的开发工具上检查它时,它不会识别为函数

我刚刚解决了…:)干杯


$(“#日期选择器”).datepicker();


当我在google Chrome中的开发工具上检查它时,它不会识别为函数

我已经将脚本标记放在我的身体标记仍然不起作用之前,我还尝试将脚本标记放在结束标记之前。我已经将脚本标记放在我的身体标记仍然不起作用之前,我还尝试将脚本标记放在结束标记之前。
<script type="text/javascript">
        $(function() {
         $( "#datepicker" ).datepicker();
        });
</script>
<script type="text/javascript">
    $( "#datepicker" ).datepicker();      
</script>