add.asp

来自「中原商贸城 中原商贸城 项目库 企业库 供求信息 会员 招聘 企业展示」· ASP 代码 · 共 105 行

ASP
105
字号
<!--#include file=../common/conn.asp -->
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href=../../gq.css rel=stylesheet>
<script language="javascript">
function isok(theform)
{
    if (theform.caption.value=="")
	{
	alert("调查标题不能为空!")
	theform.caption.focus();
	return false;
	}

    if (theform.content1.value=="")
	{
	alert("调查内容A不能为空!")
	theform.content1.focus();
	return false;
	}
	 if (theform.content2.value=="")
	{
	alert("调查内容B不能为空!")
	theform.content2.focus();
	return false;
	}
	 if (theform.content3.value=="")
	{
	alert("调查内容C不能为空!")
	theform.content3.focus();
	return false;
	}
	 if (theform.content4.value=="")
	{
	alert("调查内容D不能为空!")
	theform.content4.focus();
	return false;
	}
}
</script>
<title>网上调查</title>
<link href="../cbebcss.css" rel="stylesheet" type="text/css">
<link href="../../gq.css" rel="stylesheet" type="text/css">
<link href="../images/font.css" rel="stylesheet" type="text/css">
</head>

<body background="../images/bgpic.gif">

<p> </p>
<form method="POST" action="Addnew.asp" onsubmit="return isok(this)">
  <table border="0" width="450" align=center>
    <tr> 
      <td width="100%"><b>增加网上调查:</b></td>
    </tr>
    <tr> 
      <td width="100%"> <hr size="1"> </td>
    </tr>
    <tr> 
      <td width="100%"></td>
    </tr>
  </table>
  <table width="460" border="0" align="center" cellpadding="0">
    <tr class="size12"> 
      <td width="105" align="right">调查标题:</td>
      <td width="352"> 
        <input name="caption" type="text" size="40" class=button>
      </td>
    </tr>
    <tr class="size12"> 
      <td align="right">调查内容:</td>
      <td valign="top"> <p> <br>
          A: 
          <input name="content1" type="text" id="content1" class=button>
          <br>
          <br>
          B: 
          <input name="content2" type="text" id="content2" class=button>
        </p>
        <p> C: 
          <input name="content3" type="text" id="content3" class=button>
        </p>
        <p> D: 
          <input name="content4" type="text" id="content4" class=button>
        </p>
        <p>E: 
          <input name="content5" type="text" id="content5" class=button>
        </p>
        </td>
    </tr>
    <tr> 
      <td align="right">&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    <tr align="center"> 
      <td colspan="2"><input type="submit" value="提  交"> &nbsp;&nbsp;&nbsp;&nbsp; 
        <input type="reset" value="清  除"></td>
    </tr>
  </table>
</form>
</body>

</html>

⌨️ 快捷键说明

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