Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/87.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
Javascript 选择加载引导日期选择器的div_Javascript_Jquery_Css_Datepicker_Bootstrap Datepicker - Fatal编程技术网

Javascript 选择加载引导日期选择器的div

Javascript 选择加载引导日期选择器的div,javascript,jquery,css,datepicker,bootstrap-datepicker,Javascript,Jquery,Css,Datepicker,Bootstrap Datepicker,我有自己的下拉列表,我想在那里加载,在文档中我找不到任何关于它的内容。这是我想做的一些例子 这就是我的HTML的外观,我想在其中添加datepicker <div class="my-example"> <input id="" placeholder="press to show calendar" class="input"> <div class="dropdown"> there is div, where I need to load

我有自己的下拉列表,我想在那里加载,在文档中我找不到任何关于它的内容。这是我想做的一些例子

这就是我的HTML的外观,我想在其中添加datepicker

<div class="my-example">
  <input id="" placeholder="press to show calendar" class="input">
  <div class="dropdown">
   there is div, where I need to load my datepicker
  </div>
</div>

还有div,我需要在那里加载我的日期选择器

添加一个div,以便加载选择器:

<div class="dropdown">
    <div class="datetimepickerinline">
        there is div, where I need to load my datepicker
    </div>
</div>

这项工作的关键是通过将
inline
属性设置为
true

您希望使用下拉类将新的日期选择器或以前的日期选择器数据加载到div中。我很乐意提供帮助!
$('.datetimepickerinline').datetimepicker({inline: true});