* fix the bug of datepicker under ie.

This commit is contained in:
wangchunsheng
2012-02-21 00:49:55 +00:00
parent 5d0c048bab
commit 2cd9f88eba
2 changed files with 3 additions and 2 deletions

View File

@@ -20,7 +20,8 @@ Date.abbrDayNames = ['星期天', '星期一', '星期二', '星期三', '星
Date.monthNames = ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'];
$(function() {
$(".date").datePicker({createButton:true, startDate:'2000-1-1'})
startDate = new Date(2011, 1, 1);
$(".date").datePicker({createButton:true, startDate:startDate})
.dpSetPosition($.dpConst.POS_TOP, $.dpConst.POS_RIGHT)
});
</script>

File diff suppressed because one or more lines are too long