开发者

Set dateformat once, so jquery and jqueryUI date picker use that date format

开发者 https://www.devze.com 2023-01-12 08:21 出处:网络
Is there a way for me to set the date format once to \'dd/MM\\yyyy\' and t开发者_运维问答hen have jquery\'s ui datepicker use that date?

Is there a way for me to set the date format once to 'dd/MM\yyyy' and t开发者_运维问答hen have jquery's ui datepicker use that date?

I don't want to set the date format everytime I use the datepicker.

I am getting the format from a server-side config setting, so I can output this on every page request to a js variable on the page.


$.datepicker.setDefaults( settings )

0

精彩评论

暂无评论...
验证码 换一张
取 消