📄 voteupdate.jsp~1~
字号:
<%@ page contentType="text/html; charset=GBK" %>
<html>
<head>
<title>修改新闻人物的信息</title>
<style type="text/css">
<!--
body {
background-color: #FFFFCC;
}
-->
</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>
<%List list;%>
<body>
<div align="center">添加新闻人物的信息
<form action="../../../voteInsertAction.do" onSubmit="return RgTest()" method="post" enctype="multipart/form-data" name="form">
<p> </p>
<table width="377" border="3" cellspacing="3" cellpadding="3">
<tr>
<td width="107">人物图片</td>
<td width="239"> </td>
</tr>
<tr>
<td>人物名称</td>
<td><input type="text" name="name"></td>
</tr>
<tr>
<td>人物籍贯</td>
<td><input type="text" name="address"></td>
</tr>
<tr>
<td>人物年龄</td>
<td><input type="text" name="country"></td>
</tr>
<tr>
<td>人物工作</td>
<td><input type="text" name="jop"></td>
</tr>
<tr>
<td height="80">简单介绍</td>
<td><textarea name="remark"></textarea></td>
</tr>
</table>
<input type="submit" name="Submit2" value="提交">
<input type="reset" name="Submit" value="重置">
</form>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -