2

値をロケール化する方法は$('#datepicker').datepicker('getDate')?例:alert中国の日付のような(2012年9月10日)

これが私のコードです:http://jsfiddle.net/8JyDB/1/

4

2 に答える 2

1

jQueryi18nプラグインを使用します。ローカリゼーションを行うには、次のリンクを参照してください。

http://codingwithcoffee.com/files/trunk/index.html

http://keith-wood.name/localisation.html

お役に立てれば

于 2012-09-12T10:04:14.860 に答える
0

http://jqueryui.com/demos/datepicker/#localization

$( "#datepicker" ).datepicker( $.datepicker.regional[ "zh-CN" ] );
于 2012-09-12T09:59:09.940 に答える