-
Notifications
You must be signed in to change notification settings - Fork 76
AltField Option
Benjamin Albert edited this page Feb 4, 2016
·
3 revisions
Type: Selector or jQuery or Element
Default: null.
Since: 2.8
An input element that is to be updated with the selected month from the month picker. Use the AltFormat option to change the format of the date within this field. Leave as blank for no alternate field.
Set the option upon init.
<pre>
$('.selector').MonthPicker({ AltField: '#field' });
Get or set the option, after init.
//getter var AltField = $('.selector').MonthPicker('option', 'AltField'); //setter $('.selector').MonthPicker('option', 'AltField': '#OtherField' );