ShowOn Option - KidSysco/jquery-ui-month-picker GitHub Wiki
Type: String
Since: 2.5
Default: button or focus only
Set the menu to open on both clicking the button and focusing on the associated input field.
Set the option upon init.
$('.selector').MonthPicker({ ShowOn: 'both' });
Get or set the option, after init.
//getter var ShowOn = $('.selector').MonthPicker('option', 'ShowOn'); //setter $('.selector').MonthPicker('option', 'ShowOn', 'both' );