jQuery UI - datepicker 中文界面顯示

jQuery UI - datepicker 中文界面顯示

ui.datepicker語系檔下載:

 

中文顯示範例:

 

<style type="text/css">@import url(jquery/themes/ui.datepicker.css);</style>
<script type="text/javascript" src="jquery/jquery-1.2.6.js"></script>
<script type="text/javascript" src="jquery/ui/ui.datepicker-zh-TW.js"></script>
<script type="text/javascript" src="jquery/ui/ui.datepicker.js"></script>

<script type="text/javascript">
jQuery(function($){
$('#exampleRange').datepicker({
          rangeSelect: true,
          firstDay: 1, 
                  showOn: 'both', 
          buttonImageOnly: true, 
                  buttonImage: 'calendar.gif'});
});
</script>
...
<input type="text" id="exampleRange" value="click here to see">

畫面:

2008-06-20_231135