-
Notifications
You must be signed in to change notification settings - Fork 76
Home
Welcome to the The jQuery UI Month Picker Wiki Documenation. There are numerous links on the right leading to implementation articles, options, events and API call docs.
Please read the 3.x Upgrade Guide
This plugin supports the following configuration with all modern browsers and even those ancient IE 8 - 10 browsers.
- jQuery 1.9.1+
- jQuery UI 1.9.2+
- jQuery UI Widget Factory required
- .button() plugin required
- .datepicker() plugin required
- .position() plugin optional (highly recommended see Position option)
- (optional) Digital Bush Masked Input jQuery Plugin
$ bower install jquery-ui-month-picker --save
You can also download a zip of the repository.
Attach all required CSS and JS files to the web page as follows...
<link href="http://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.min.css" rel="stylesheet" type="text/css" /> <link href="bower_components/jquery-ui-month-picker/demo/MonthPicker.min.css" rel="stylesheet" type="text/css" /><script src="http://code.jquery.com/jquery-1.12.1.min.js"></script> <script src="http://code.jquery.com/ui/1.11.4/jquery-ui.min.js"></script> <script src="bower_components/jquery.maskedinput/dist/jquery.maskedinput.min.js"></script> <script src="bower_components/jquery-ui-month-picker/demo/MonthPicker.min.js"></script>
This plugin can only be called on a div, span, text input, or the HTML 5 Month Input Types as follows.
$('#TextBox1').MonthPicker({ StartYear: 2020, ShowIcon: false }); $('input[type=month]').MonthPicker().css('backgroundColor', 'lightyellow');