2

Trying to use datepicker for arabic language. I am able to change all the contents like months and days in arabic so as the datepicker format in RTL.

BUT. I am not being able to change position of prev and next buttons. Their positions are not changed. Is there anyone out there to help me to do this?

In English: enter image description here

In Arabic: enter image description here

Please do comment, if question is not clear. Thank you.

4

1 回答 1

-1

这很容易,因为 Jquery 已经有了 RTL 的特性。在日期选择器的初始化中执行以下操作

$( ".selector" ).datepicker({ isRTL: true });

更多信息: http ://api.jqueryui.com/datepicker/#option-isRTL

以下仅适用于以上用户

注意:我认为您必须删除您为“RTL 中的日期选择器格式”所做的事情

于 2013-08-09T06:01:41.663 回答