bootstrap-monthpicker icon indicating copy to clipboard operation
bootstrap-monthpicker copied to clipboard

bootstrap3 月份选择器

bootstrap monthpicker

bootstrap3 Month picker

Demos:

Here

Options:

  • from

Start date time, for example: 2013-05

  • to

To date time, for example: 2013-11

  • onSelect

Fire when select a month.

Usage:

<input type="text" value="2013-10" />
<span id="month">2013-11</span>
$('input').bootstrapMonthpicker();

$('#month').bootstrapMonthpicker({
	from: '2013-05',
	to: '2013-11',
	onSelect: function(value) {
		console.log(value);
	}
});