Answers for "bootstrap datepicker just year and month"

0

month and year picker bootstrap

<div class="input-append date" id="datepicker" data-date="02-2012" 
     data-date-format="mm-yyyy">

 <input  type="text" readonly="readonly" name="date" >    
 <span class="add-on"><i class="icon-th"></i></span>      
</div>      


$("#datepicker").datepicker({
        viewMode: 'years',
         format: 'mm-yyyy'
    });
Posted by: Guest on November-02-2020

Code answers related to "bootstrap datepicker just year and month"

Browse Popular Code Answers by Language