ambuli
asked on
Javascript Localization of datepicker
Hi there,
I want to localize the datepicker control.
I noticed that people suggesting regional property. I tried
I want to localize the datepicker control.
I noticed that people suggesting regional property. I tried
$('#FromDatePickerInputID').datepicker({
dateFormat : 'yy-mm-dd',
regional: 'fr',
}).datepicker("setDate", new Date());
But it does not give the localized values. How should I correct it.$('#FromDatePickerInputID').datepicker({
dateFormat : 'yy-mm-dd',
}).datepicker("setDate", new Date());
var fromDateInput = document.createElement("input");
fromDateInput.maxLength = "10";
fromDateInput.style.width = "80px";
fromDateInput.id = "FromDatePickerInputID";
fromDateInput.type = "text";
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.