showOtherMonths : BooleanDefault: false

Whether to display dates in other months at the start or end of the current month.

Set to true by default for Bootstrap.

Examples

True

    
 <input id="datepicker" width="312" />
 <script>
    var datepicker = $('#datepicker').datepicker({
        showOtherMonths: true
    });
 </script>

  

False

    
 <input id="datepicker" width="312" />
 <script>
     $('#datepicker').datepicker({
         showOtherMonths: false
     });
 </script>