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

📄 addvote.asp

📁 一个ASP做的购物车
💻 ASP
字号:
<!--#include file="conn.asp"-->
<!--#include file="session2.asp"-->
<%
dim i
%>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="style.css" rel="stylesheet" type="text/css">
<title>添加投票</title>
<SCRIPT language="JavaScript" type="text/javascript">
function IsDigit()
{
  return ((event.keyCode >= 48) && (event.keyCode <= 57));
}
</script>
</head>
<body>
<table cellpadding="3" cellspacing="1" border="0" width="100%" class="tableBorder" align=center>
  <tr> 
    <th class="tableHeaderText" colspan=2>添加调查</th>
  </tr>
  <form method="POST" action="SaveVote.asp">
    <tr> 
      <td width="30%" align="right" class="forumRowHighlight">主题:</td>
      <td width="70%" class="forumRowHighlight"> <input type="text" name="Title" size="34"></td>
    </tr>
    <%for i=1 to 8%>
    <tr> 
      <td align="right" class="forumRowHighlight">选项<%=i%>:</td>
      <td class="forumRowHighlight"> <input type="text" name="select<%=i%>" size="20">
        票数:
        <input type="text" name="answer<%=i%>" size="5" value="0" onKeyPress="event.returnValue=IsDigit();" ></td>
    </tr>
    <%next%>
    <tr> 
      <td colspan=2 align=center class="forumRowHighlight"> <input type="hidden" value="add" name="act"> 
        <input class=button type="button" value=" 返 回 " onclick="javascript:history.go(-1)">
        &nbsp; <input class=button type="submit" value=" 添 加 " name="cmdok" >
        &nbsp; <input class=button type="reset" value=" 取 消 "  name="cmdcancel"> 
      </td>
    </tr>
  </form>
</table>
</body>
</html>

⌨️ 快捷键说明

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