一个提供用户输入时期的绝好程序之(一)

TestCal.asp

 1<html>
 2<head>
 3<meta content="Microsoft Visual InterDev 1.0" name="GENERATOR"/>
 4<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
 5<title>Test Calendar Date Selection</title>
 6</head>
 7<body bgcolor="#FFFFFF">
 8<center>
 9<script language="javascript">   
10{   
11self.name="BODY";   
12}   
13function calpopup(lnk) {   
14window.open(lnk, "calendar","height=250,width=250,scrollbars=no")   
15}   
16</script>
17<form action="TestCal.asp" method="post" name="DataEntry">
18<table bgcolor="#ded6c5" border="3" width="75%">
19<tr><td align="center"><br/>
20<input name="FromDate" onclick="calpopup('DateSelect.asp?Page=BODY&amp;Form=DataEntry&amp;Element=FromDate')" size="20" type="text" value="Click here to select date..."/>
21<input type="submit" value=" Enter "/>
22<br/> </td></tr>
23</table>
24</form>
25<br/><br/>
26<a href="CalendarDetail.asp">   
27View</a> application description.   
28</center>
29
30</body>
31</html>
Published At
Categories with Web编程
Tagged with
comments powered by Disqus