jQuery UI - datepicker 中文界面顯示
ui.datepicker語系檔下載:
- Bulgarian
- Catalan of Spain
- Chinese Simplified
- Chinese Traditional
- Czech
- Danish
- Dutch
- Finnish
- French
- German
- Hebrew
- Hungarian
- Icelandic
- Italian
- Japanese
- Korean
- Lithuanian
- Norwegian
- Polish
- Portuguese of Brazil
- Romanian
- Russian
- Slovak
- Spanish
- Swedish
- Thai
- Turkish
中文顯示範例:
<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">
畫面: