The demo doesn't work because the localisations aren't being loaded.
For your own page, load jQuery, jQuery UI, the datepicker localisation, and then initialise the datepicker:
- <script type="text/javascript" src="js/jquery-1.8.3.js"></script>
- <script type="text/javascript" src="js/jquery.ui-1.9.2.js"></script>
- <script type="text/javascript" src="js/jquery.ui.datepicker-fr.js"></script>
- <script type="text/javascript">
- $(function() {
- $('#date').datepicker(); // French datepicker
- });
- </script>