1 建一个 div
<DIV ID="testdiv1" STYLE="position:absolute;visibility:hidden;background-color:white;layer-background-color:white;"></DIV>
2
var cal1xx = new CalendarPopup("testdiv1");
cal1xx.showNavigationDropdowns();
3 <html:text property="fromDate" style="width:120px" readonly="true"
onfocus="cal1xx.select(this,'id1','yyyy-MM-dd'); return false;"
onclick="cal1xx.select(this,'id1','yyyy-MM-dd'); return false;"/>
(日历选择div 将在 id1 左边显示)
4 CalendarPopup.js