Bootstrap datepicker pop-up not shown the highlighted current date

css, datepicker, javascript, jquery, twitter-bootstrap

Solution

If you are using this : https://github.com/eternicode/bootstrap-datepicker you have to give options when you initiate calendar, such as

   $('#sandbox-container input').datepicker({ 
               todayHighlight: true
   });

Problem

I am using Bootstrap datepicker by using Bootstrap-datepicker API. When I click the button the calendar/datepicker pop-up shown but it didn't mark the current date as Blue font as shown in API examples. I am using the below code: ``` <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> ``` The calendar/datepicker pop-up shown but the current date is not highlighted as blue as shown in API Examples and also the mouse cursor is not pointer. Please help me regarding this issue

Original source