jqueryui datepicker customize problem
Posted
by niao
on Stack Overflow
See other posts from Stack Overflow
or by niao
Published on 2010-04-22T18:28:50Z
Indexed on
2010/04/22
18:33 UTC
Read the original article
Hit count: 339
jquery-ui
|datepicker
Greeting, I would like the jqueryui datapicker to use polish localization. Additionally, the dates have to be limited so it should not be possible to choose past dates. I have something like this:
$.datepicker.setDefaults($.datepicker.regional['pl']);
$("#StartDate").datepicker({ minDate: 0, maxDate: '+1Y ' });
$("#StartDate").datepicker('option', $.datepicker.regional['pl']);
Limitation works find, but I cannot achieve polish localization. Please help.
© Stack Overflow or respective owner