简体   繁体   English

daterangepicker在引导模型弹出窗口中不起作用

[英]daterangepicker NotWorking in bootstrap model popup

Daterangepicker not working in a bootstrap model popup Here the working in HTML page jsfiddle link Daterangepicker在引导模型弹出窗口中不起作用这里是HTML页面中的jsfiddle链接

[https://jsfiddle.net/150q2k7t/14/][1]

And I tried in Model It is not working 我尝试在模型中不起作用

[http://jsfiddle.net/npb28m6z/3/][1]

Your jsfiddle is missing the required dependencies (resources). 您的jsfiddle缺少必需的依赖项(资源)。

You should include them after bootstrap, in this specific order: 您应在引导程序之后按以下特定顺序包括它们:

https://cdn.jsdelivr.net/momentjs/latest/moment.min.js https://cdn.jsdelivr.net/bootstrap.daterangepicker/2/daterangepicker.css https://cdn.jsdelivr.net/bootstrap.daterangepicker/2/daterangepicker.js https://cdn.jsdelivr.net/momentjs/latest/moment.min.js https://cdn.jsdelivr.net/bootstrap.daterangepicker/2/daterangepicker.css https://cdn.jsdelivr.net/bootstrap。 daterangepicker / 2 / daterangepicker.js

In order to add them, you click Resources in the sidebar and then type the address and click the plus button (+) : 为了添加它们,请单击侧边栏中的Resources ,然后键入地址并单击加号(+)

资源按钮

带有资源的侧栏

Check it out on this fiddle: 在这个小提琴上查看一下:

https://jsfiddle.net/5pytk1gh/ https://jsfiddle.net/5pytk1gh/

[http://jsfiddle.net/npb28m6z/3/][1]

Just add to the Resources moment.js and daterangepicker.js dependencies. 只需添加到Resources moment.jsdaterangepicker.js依赖项即可。
Like you did it here - [https://jsfiddle.net/150q2k7t/14/][1] . 就像您在这里所做的一样- [https://jsfiddle.net/150q2k7t/14/][1]

在此处输入图片说明 在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM