Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="input-group date" style="width: 200px">
- <input type="text" id="example1" class="form-control" style="cursor: pointer"/>
- <span class="input-group-addon">
- <i class="glyphicon glyphicon-calendar"></i>
- </span>
- </div>
- $('#example1').datepicker
- ({
- format: "MM yyyy",
- minViewMode: 1,
- autoclose: true,
- startDate: new Date(new Date().getFullYear(), '0', '01'),
- endDate: new Date(new Date().getFullYear()+1, '11', '31')
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement