Advertisement
Guest User

Untitled

a guest
Oct 5th, 2015
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. <div class="input-group date" style="width: 200px">
  2. <input type="text" id="example1" class="form-control" style="cursor: pointer"/>
  3. <span class="input-group-addon">
  4. <i class="glyphicon glyphicon-calendar"></i>
  5. </span>
  6. </div>
  7.  
  8. $('#example1').datepicker
  9. ({
  10. format: "MM yyyy",
  11. minViewMode: 1,
  12. autoclose: true,
  13. startDate: new Date(new Date().getFullYear(), '0', '01'),
  14. endDate: new Date(new Date().getFullYear()+1, '11', '31')
  15. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement