jQuery UI日期选择器本地化 [英] JQuery UI datepicker localization
本文介绍了jQuery UI日期选择器本地化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试在JQueryUI Datepicker上获取希伯来语日历. 由于某些原因,它始终保持英语.
I'm trying to get a Hebrew Calendar on JQueryUI Datepicker. For some reason, it always stays in English.
这是我的代码:
$.datepicker.setDefaults( $.datepicker.regional[ "" ] );
$( ".calendar_date" ).datepicker( $.datepicker.regional[ "he" ] );
谢谢!
推荐答案
您是否下载了本地化日历并将其包含在页面中? 您可以在此处找到并下载它-检查页面的来源,希伯来语日历为此. 您应该下载此js并将其包含在页面中.
Have you downloaded and included in your page the localized calendar? You can find it and download it from here - check the source of the page, the Hebrew Calendar is this. You should download and include this js in your page.
这篇关于jQuery UI日期选择器本地化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文