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

📄 type_3_add.jsp

📁 这个是我同学做的
💻 JSP
字号:
<%@ page language="java" import="java.util.*" pageEncoding="GBK"%>
<script language=javascript>
function check()
{
if (document.form1.T1.value=="")
{alert("请录入题干!");
document.form1.T1.focus();
return false;}
if (document.form1.cate1.value=="")
{alert("请录入答案!");
document.form1.cate1.focus();
return false;}
document.form1.ctype.value="types";
document.form1.submit();
}

</script>


<html>
<head>

<title>网上考试系统</title>
<link rel="stylesheet" type="text/css" href="css.css">
</head>

<body topmargin="0" leftmargin="0">
<p>
<p align="center"><font class="test1">填空题 题库管理</font></p> 
<div align="center"> 
  <center> 
    <form name=form1 method="post" action="yanzheng5.jsp">
  <input type=hidden name=ctype value=types>

  <table border="1" cellpadding="5" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="600"> 
    <tr> 
      <td align="center" colspan="3">注:可以一次添加1道填空题</td> 
    </tr> 
    <tr> 
      <td width="50" align="center" bgcolor="#CBEFDC">编号</td> 
      <td width="420" align="center" bgcolor="#CBEFDC">题目</td> 
      <td width="130" align="center" bgcolor="#CBEFDC">答案</td> 
    </tr>
     
   <tr bgcolor="#FFFFFF">
 
      <td align="center">1</td> 
      <td> <input type="text" name="T1" size="55" class="line"></td> 
      <td align="center"> 
          <input type="text" name="cate1" size="15" class="line"></td> 
    </tr> 
          

    <tr> 
      <td colspan="3" align="center"> 
 <input type="button" value="提交" name="B1" onclick="check()"> <input type="reset" value="重置" name="B2"></td> 
    </tr> 
    </table> 
     </form>

  </center> 
</div> 
</body> 
 
</html>

⌨️ 快捷键说明

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