I am trying to put bootstrap datetimepicker plugin in my web app and followed every installation instructions properly but it won't work so I tried the examples of others in jsfiddle referenced from here but they too not work. Is is in my browser or I just forgot to include some requirements. Here is my header:
<!-- BOOTSTRAP TIMEPICKER -->
<link href="<?php echo base_url('assets/css/bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css');?>"
and here is my footer:
<!-- JQUERY TIMEPICKER -->
<script src="<?php echo base_url('assets/js/moment/min/moment.min.js');?>"></script>
<script src="<?php echo base_url('assets/js/bootstrap-datetimepicker.min.js');?>"></script>
and here is the html:
<tr>
<td><label class='control-label'>Time In:</label></td>
<td><div class='input-group date' id='TimeIn'>
<input type='text' class='form-control' value='".@date('H:i',@strtotime($val['TimeIn']))."' id='txtTimeIn'/><span class='input-group-addon'><i class='glyphicon glyphicon-time'></i></span>
</div></td>
</tr>
And here is the jquery:
$(function(){
$('#TimeIn').datetimepicker({
format: 'LT'
});
});