Hi,
I'm looking for a nice solution to select a month/year omitting the day information (it's always the first) and came across this nice post:
And it works (after I had found out, that I had to set inline css correctly).
But still I'm not completly satisfied: the modified datepicker is displayed in English - and I need month names in German. Tried it like this, which didn't work:
$('.month-picker').datepicker( {
changeMonth: true,
changeYear: true,
showButtonPanel: true,
dateFormat: 'MM yy',
onClose: function(dateText, inst) {
$(this).datepicker('setDate', new Date(inst.selectedYear, inst.selectedMonth, 1));
}
},"dd.mm.yyyy","de-at");
My apologies - but I'm not a Java-Script guy ...
Thanks for any hints and help!
Stephan