Learning
Learning

Reputation: 868

Bootstrap date time picker not working

I have attached all the required libraries to use date time picker, but still it doesn't work. Check this 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();
    });

Upvotes: 0

Views: 201

Answers (1)

meskobalazs
meskobalazs

Reputation: 16041

It is blocked, because you refer to a different domain with HTTP in an HTTPS connection. Open the browser console, and you'll see.

Use https URLs, and it will work. It works here.

Upvotes: 4

Related Questions