Bootstrap日期时间选择器无法正常工作

时间:2016-06-14 11:34:43

标签: jquery html twitter-bootstrap-3 datepicker

我已经附加了所有必需的库以使用日期时间选择器,但它仍然无法正常工作。请检查此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();
    });

1 个答案:

答案 0 :(得分:4)

它被阻止,因为您在HTTPS连接中引用了具有HTTP的其他域。打开浏览器控制台,您就会看到。

使用https网址,它会起作用。它有效here

相关问题