我正在使用Bootstrap datepicker使用Bootstrap datepicker API。当我点击按钮时显示日历/日期选择器弹出窗口,但它没有将当前日期标记为蓝色字体,如API示例中所示。Bootstrap datepicker弹出窗口未显示突出显示的当前日期
我使用下面的代码:
<body>
<div class="input-group date col-md-5" id="datepicker" data-date-format="dd-mm-yyyy">
<input class="form-control" size="56" type="text" value="" readonly>
<span class="input-group-addon"><span class="glyphicon glyphicon-th"></span></span>
</div>
<script src="js/bootstrap-datepicker.js"></script>
<script type="text/javascript">
$('#datepicker').datepicker();
</script>
</body>
日历/日期选择器示出弹出但当前的日期,如图API实施例和也将鼠标光标不是指针不突出显示为蓝色。
如果您正在使用此请帮我对这个问题
确保您添加的字体为glyphicons。如果包含字体,“glyphicon”类将起作用 – Garry