categoryadd.asp

来自「在线考试系统」· ASP 代码 · 共 38 行

ASP
38
字号
<?xml version="1.0" encoding="gb2312"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script>
function checkForm(){
	if(form1.name.value==""){
	alert("请填写科目名称!");
	form1.name.focus();
	return false;
	}
	return true;
}
</script>
<link href="main.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body>
<h3 align="center">添加新试卷模板</h3>

<form name="form1" id="form1" method="post" action="CategoryUpdate.asp?oper=add" onsubmit="return checkForm();">
  <table width="234" border="1" align="center" cellpadding="2" cellspacing="2" bordercolor="#999999">
    <tr align="center"> 
      <td width="62" bgcolor="#F3F3F3">名称: </td>
      <td width="163"><input name="name" type="text" id="name" /></td>
    </tr>
    <tr align="center"> 
      <td colspan="2"><input name="Submit" type="submit" value="提交" /> &nbsp; 
        <input type="reset" name="Submit2" value="重置" /></td>
    </tr>
  </table>
</form>
<p>&nbsp;</p>
</body>
</html>

⌨️ 快捷键说明

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