【发布时间】:2016-10-15 02:50:04
【问题描述】:
我已附加所有必需的库以使用日期时间选择器,但它仍然不起作用。检查这个fiddle
<div class='input-group date' id='from_time'>
<input type='text' class="form-control input-lg transparent-input" name="to_time" placeholder="To Time" required>
<span class="input-group-addon"><span class="glyphicon glyphicon-time"></span></span>
</div>
$(document).ready(function(){
$('#from_time').datetimepicker();
});
【问题讨论】:
-
展示你如何包含库
-
@Dest 你可以检查小提琴,不是吗??
-
@Leothelion 是的,我可以在那里检查,但如果你打开控制台,你会看到该页面上存在一些负载问题......这就是为什么它在小提琴中不起作用
-
对不起我的话,但我不想粗鲁。是的,这是因为 https 问题在下面的答案中给出。祝你有美好的一天:)
标签: jquery html twitter-bootstrap-3 datepicker