老裴帮助关于Javascript日期小控件的小练习

<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>日期控件</title>  
 <meta http-equiv="pragma" content="no-cache">
 <meta http-equiv="cache-control" content="no-cache">
 <script type="text/javascript" src="<%=path%>/js/calender/Date.js"></script>
 <script type="text/javascript" src="<%=path%>/js/calender/Calender.js"></script>
 
</head>
<!--/js/calender/Date.js -->
  开始日期: <input id="startTime" name="startTime" type="text"  value='' size="15" readonly>
   <img src="<%=path%>/js/calender/dateico.png" width="20" height="23" onclick="setday(this,document.getElementById('startTime'))" onmouseover="this.style.cursor = 'pointer'"/>
<br>
<!-- js/calender/Calender.js -->
结束日期:<input name="endTime" type="text"  value='' size="15" readonly >
   <img src="<%=path%>/js/calender/dateico.png" width="20" height="23" onclick="popUpCalendar(endTime, endTime, 'yyyy-mm-dd')" onmouseover="this.style.cursor = 'pointer'"/>
  <body>
  </body>
</html>

你可能感兴趣的:(JavaScript,html,cache)