一个提供用户输入时期的绝好程序之(一)
类别: ASP教程
TestCal.asp
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual InterDev 1.0">
<META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">
<TITLE>Test Calendar Date Selection</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<CENTER>
<SCRIPT LANGUAGE="javascript">
{
self.name="BODY";
}
function calpopup(lnk) {
window.open(lnk, "calendar","height=250,width=250,scrollbars=no")
}
</SCRIPT>
<form name="DataEntry" method="post" action="TestCal.asp">
<table border="3" width="75%" bgcolor="#ded6c5">
<tr><td align="center"><br>
<input type="text" name="FromDate" size="20" value="Click here to select date..."
onClick="calpopup(\'DateSelect.asp?Page=BODY&Form=DataEntry&Element=FromDate\')">
<input type="submit" value=" Enter ">
<br> </td></tr>
</table>
</form>
<br><br>
<a href="CalendarDetail.asp">
View</a> application description.
</center>
</CENTER>
</BODY>
</HTML>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual InterDev 1.0">
<META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">
<TITLE>Test Calendar Date Selection</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<CENTER>
<SCRIPT LANGUAGE="javascript">
{
self.name="BODY";
}
function calpopup(lnk) {
window.open(lnk, "calendar","height=250,width=250,scrollbars=no")
}
</SCRIPT>
<form name="DataEntry" method="post" action="TestCal.asp">
<table border="3" width="75%" bgcolor="#ded6c5">
<tr><td align="center"><br>
<input type="text" name="FromDate" size="20" value="Click here to select date..."
onClick="calpopup(\'DateSelect.asp?Page=BODY&Form=DataEntry&Element=FromDate\')">
<input type="submit" value=" Enter ">
<br> </td></tr>
</table>
</form>
<br><br>
<a href="CalendarDetail.asp">
View</a> application description.
</center>
</CENTER>
</BODY>
</HTML>
- 上一篇: 构建你的网站新闻自动发布系统之七
- 下一篇: 一个提供用户输入时期的绝好程序之(二)
-= 资 源 教 程 =-
文 章 搜 索