📄 message_input.asp
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>留言板</title>
<!--#include file="link.asp"-->
<script language="javascript" type="text/javascript">
function Test()
{
if(document.InputForm.NiCheng.value=="")
{
alert("请填写昵称!");
document.InputForm.NiCheng.focus();
return false;
}
if(document.InputForm.ZhuTi.value=="")
{
alert("请填写主题!");
document.InputForm.ZhuTi.focus();
return false;
}
}
</script>
</head>
<body>
<!--#include file="top.asp"-->
<form action="message_input_result.asp" method="post" name="InputForm" id="InputForm">
<table border="1" width="760" cellPadding="0" cellSpacing="0" bgcolor="#00c0f0" borderColor="#111111" borderColorDark="#0072b3" borderColorLight="#0072b3" style="BORDER-COLLAPSE: collapse">
<tr>
<td width="15%" height="20"><div align="center"><font size="2" color="#FF0000">昵称</font></div></td>
<td width="85%" height="20"><input size="16" name="NiCheng" id="NiCheng">
<font size="2" color="#FF0000">***必填项(每个昵称只能用一次)</font></td>
</tr>
<tr>
<td width="15%" height="20"><div align="center"><font size="2" color="#FF0000">主题</font></div></td>
<td width="85%" height="20"><input size="26" name="ZhuTi" id="ZhuTi"><font size="2" color="#FF0000">***必填项</font></td>
</tr>
<tr>
<td width="15%" height="20"><div align="center"><font size="2" color="#FF0000">内容</font></div></td>
<td width="85%" height="20"><textarea rows="10" cols="90" name="Text" id="Text" wrap="off"></textarea></td>
</tr>
<tr>
<td width="100%" height="20" colspan="2"><div align="center"><input type="submit" value="提交" onClick="return Test()"><input type="reset" value="清空"></div></td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -