⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 url.asp

📁 首页由top.asp index_asp.asp link.asp end.asp构成
💻 ASP
字号:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>上传文件</title>
</head>
<body topmargin="0" leftmargin="0" bgcolor="#799AE1">
<form name="FileForm" method="post" enctype="multipart/form-data" action="Upfile.asp">
 <p> </p>
	<p> </p>
 <table width="58%" align="center" border="0" cellspacing="0" cellpadding="0">
    <tr> 
      <td height="26" align="left" width=155><font size="2">文件个数:</font></td>      
    <td width="73%"> 
      <input name="FilesNum" type="text" size="23" value="1"> 
      <input type="button" name="Submit42" value="设定" onClick="ChooseOption();"></td>
    </tr>
</table>

  <table width="58%" border="0" cellspacing="0" cellpadding="0" align=center>
      <tr> 
        <td align="left">
            <table border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="30" id="FilesList"> 
				</td>
              </tr>
            </table>
		</td>
      </tr>
      </table>
      <table width="58%" border="0" cellspacing="0" cellpadding="0" align=center>
      <tr> 
        <td align="center">
		<input type="submit" value="提交" name="B1"></td>
      </tr>
      </table>
</form>
</body>
</html>
<script language="JavaScript">
function ChooseOption()
 {
  var FilesNum = document.all.FilesNum.value;
  if (FilesNum=='')
  	FilesNum=1;
  var i,Optionstr;
	  Optionstr = '<table width="100%" border="0" cellspacing="5" cellpadding="0">';
  for (i=1;i<=FilesNum;i++)
      {
	   Optionstr = Optionstr+'<tr><td width=100><font size=2>文&nbsp;件&nbsp;'+i+'</font></td><td>&nbsp;&nbsp;<input type="file" accept="html" size="20" name="File'+i+'">&nbsp;</td></tr>';
	   }
	Optionstr = Optionstr+'</table>';  
    document.all.FilesList.innerHTML = Optionstr;
  }
ChooseOption();
</script>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -