2012-08-06 65 views
1

可能重复:
Updating to latest JQuery UI and datepicker is causing the datepicker to always be seenjQuery UI的日期选择器的setDate方法日历

这是我的代码看起来像在JavaScript

$(function() { 
    $("#datepicker").datepicker({ minDate: new Date(2012,7,23), maxDate: new Date(2012,11,14)}); 
    $("#datepicker").datepicker("setDate", new Date()); 
}); 

除了当我加载它时,datepicker日历自动显示在页面的底部。我试过here的解决方案,但它不起作用。我也有手风琴里的日期选择器。这会成为问题的一部分吗?请让我知道任何解决方案。谢谢!

回答

相关问题