Jquery日期选择器默认日期 [英] Jquery Date picker Default Date
本文介绍了Jquery日期选择器默认日期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
有趣的是,datepicker默认日期是我找到的当前日期,
,但可以通过
$(#yourinput)。datepicker(setDate,7/11/2011);
不要忘记检查系统日期:)
I am using a Jquery Datepicker in my project. The problem is that it is not loading the current date, but showing a date 1st January 2001 as default. Can you please let me know how the default date can be corrected so it will display the current date.
解决方案
interesting, datepicker default date is current date as I found,
but you can set date by
$("#yourinput").datepicker( "setDate" , "7/11/2011" );
don't forget to check you system date :)
这篇关于Jquery日期选择器默认日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文