一个简单的日期控件脚本,使用方法:先在JSP中引用该脚本,例子如下:<td width=30%>
<table border="0" cellpadding="0" cellspacing="0"
<tr>
<td width=35% align="center">结束日期:</td>
<td width=65%
<input type="text" name="endDate" id="endDate"
size="26" value="<c:out value='${endDate}'/>" onclick="calendar();"/>
</td>
</tr>
</table>
</td>