📄 voteinsert.jsp
字号:
<%@ page contentType="text/html; charset=gbK" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbK">
<title>添加新闻人物的信息</title>
<style type="text/css">
<!--
body {
margin-top:0px;
margin-left:0px;
}
td{font-size:9pt;}
-->
</style>
</head>
<script language="JavaScript">
function RgTest(){
if(document.form.name.value==""){
window.alert("请输入人物名称!");
document.form.name.focus();
return false;
}
if(document.form.address.value==""){
window.alert("请输入人物籍贯!");
document.form.address.focus();
return false;
}
if(document.form.country.value==""){
window.alert("请输入人物年龄!");
document.form.country.focus();
return false;
}
if(document.form.jop.value==""){
window.alert("请输入人物工作!");
document.form.jop.focus();
return false;
}
if(document.form.remark.value==""){
window.alert("请输入人物简单介绍!");
document.form.remark.focus();
return false;
}
return true;
}
</script>
<body>
<table width="568" height="419" border="0" cellpadding="2" cellspacing="1" bgcolor="#052754">
<tr>
<td bgcolor="#FFFFFF" align="center" valign="top">
<br>
<br>
<br>
<p><strong style="color:#FF9900">添加新闻人物信息</strong></p>
<form action="../../../voteInsertAction.do" onSubmit="return RgTest()" method="post" enctype="multipart/form-data" name="form">
<table width="391" border="0" cellspacing="1" cellpadding="2" bgcolor="#052754">
<tr height="24">
<td width="70" align="center" bgcolor="#0099cc"> 人物名称 </td>
<td width="310" bgcolor="#ffffff"><input name="name" type="text" size="26"> </td>
</tr>
<tr>
<td bgcolor="#0099cc" align="center"> 人物籍贯 </td>
<td bgcolor="#ffffff"><input name="address" type="text" size="15"></td>
</tr>
<tr>
<td bgcolor="#0099cc" align="center"> 人物年龄 </td>
<td bgcolor="#ffffff"><input name="country" type="text" size="15"></td>
</tr>
<tr>
<td bgcolor="#0099cc" align="center"> 人物工作 </td>
<td bgcolor="#ffffff"><input name="jop" type="text" size="40"></td>
</tr>
<tr>
<td height="80" bgcolor="#0099cc" align="center"> 简单介绍</td>
<td bgcolor="#ffffff"><textarea name="remark" cols="42" rows="8"></textarea></td>
</tr>
</table>
<br>
<input type="submit" name="Submit2" value="提交">
<input name="Submit" type="reset" value="重置">
</form></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -