-
Notifications
You must be signed in to change notification settings - Fork 75
Inline Menu
Ryan Segura edited this page Feb 2, 2016
·
2 revisions
You can create an inline month picker menu by calling the month picker function on a <div> or <span> tag, example:
$('div').MonthPicker({ SelectedMonth: '+1y -3M', // Set the selected month. AltField: '#hiddenInput' // Populate a hidden field and send to send the selected value to the server.OnAfterChooseMonth: function(selectedDate) { // Do something with selected JavaScript date. // console.log(selectedDate); }
});