Answers for "bootstrap datepicker only month and year"

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 only month and year"

Browse Popular Code Answers by Language