* adjust the begin date of datepicker plugin.

This commit is contained in:
wangchunsheng
2012-02-21 08:27:15 +00:00
parent 4b25093ce2
commit 17c4da3e95
+1 -1
View File
@@ -20,7 +20,7 @@ Date.abbrDayNames = ['星期天', '星期一', '星期二', '星期三', '星
Date.monthNames = ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'];
$(function() {
startDate = new Date(2011, 1, 1);
startDate = new Date(1970, 1, 1);
$(".date").datePicker({createButton:true, startDate:startDate})
.dpSetPosition($.dpConst.POS_TOP, $.dpConst.POS_RIGHT)
});