You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

jQuery Datepicker配置日语本地化后日期显示异常问题

原始问题

我已查阅jQuery Datepicker日文日历相关的官方本地化文档及社区公开讨论资料,但按示例配置后日历仍无法正确显示日期。
对应配置代码如下:

<link rel="stylesheet" href="//code.jquery.com/ui/1.13.0/themes/base/jquery-ui.css">
<link rel="stylesheet" href="/resources/demos/style.css">
<script src="https://code.jquery.com/jquery-3.6.0.js"></script>
<script src="https://code.jquery.com/ui/1.13.0/jquery-ui.js"></script>
<script src="i18n/datepicker-ja.js"></script>

<script>
$( function() {
  $( "#datepicker" ).datepicker( $.datepicker.regional[ "ja" ] );
} );
</script>
</head>
<body>

<p>Date: <input type="text" id="datepicker"></p>

</body>
</html>

配置完成后日历存在显示异常,日期内容无法正常渲染。

问题解决方法

该问题由谷歌Chrome浏览器的异常故障导致,进入浏览器设置页面找到「重置并清理」选项执行操作后,问题即可解决。

内容的提问来源于stack exchange,提问作者Ross Symonds

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.09.27 16:27:00