📄 addpoll.jsp
字号:
<%@ page contentType="text/html;charset=gb2312" %>
<script language=javascript>
function checkInput(){
if (document.inputForm.author.value == ""){
alert("Please input the author!");
document.inputForm.author.focus();
return false;
}
if (document.inputForm.themeTitle.value == ""){
alert("Please input the Title!");
document.inputForm.themeTitle.focus();
return false;
}
if (document.inputForm.description.value==""){
alert("Please input the Question!");
document.inputForm.description.focus();
return false;
}
if (document.inputForm.answer1.value == ""){
alert("Please input the first Answer!");
document.inputForm.answer1.focus();
return false;
}
if (document.inputForm.answer2.value == ""){
alert("Plase input the second Answer!");
document.inputForm.answer2.focus();
return false;
}
return true;
}
</script>
<html>
<head>
<title>career send
</title>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<style type="text/css">
<!--
A { text-decoration: none; }
A:hover { color:#FF3300; }
.normal { text-decoration: underline; color:#0033cc; }
.subject { font-family: verdana; }
.subjectOn { font-family: verdana; font-weight: bold; }
.username { font-family: verdana; color: #000000; }
.usernameOn { font-family: verdana; color: #000000; font-weight: bold; }
.datetime { font-family: verdana; color: #333333; }
.datetimeOn { font-family: verdana; color: #333333; font-weight: bold; }
.dateTimeList { font-family: verdana; color: #666666; text-align: center; }
.dateTimeListToday { font-family: verdana; color: #ff6600; text-align: center; }
.breadcrumbBox { font-family: verdana; font-size: 9pt; color: #0033cc; font-weight: bold;}
.messageNav { font-size: 7pt; font-family: verdana;}
.messageNavButton { font-size: 8pt;font-family: verdana;}
-->
</style>
</HEAD>
<BODY bgColor=#ffffff leftMargin=0 text=#000000 topMargin=0 MARGINWIDTH="0" MARGINHEIGHT="0">
<TABLE bgColor=#ffffff border=0 cellPadding=0 cellSpacing=0 width="100%">
<tr><jsp:include page="../header.jsp" flush="true"/> </tr>
</TABLE>
<form action="addcommit.jsp" name="inputForm" method="POST" onSubmit="return checkInput()">
<table border="0" width="100%">
<tr>
<td width="100%">
<hr size="0">
</td>
</tr>
<tr>
<td width="100%" align = center><b>Please Putin the Poll Information</b><font style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#FF0000">(*quest)</font></td>
</tr>
<tr>
<td width="100%">
<table border="0" width="100%" height="113">
<tr>
<td width="15%" height="18" align=right><font style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Author:</font></td>
<td width="85%" height="18"><input type="text" name="author" size="20"><font color="#FF0000">*</font></td>
</tr>
<tr>
<td width="15%" height="18" align=right><font style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Title:</font></td>
<td width="85%" height="18"><input type="text" name="themeTitle" size="50"><font color="#FF0000">*</font></td>
</tr>
<tr>
<td width="15%" height="18" align=right><font style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Description:</font></td>
<td width="85%" height="18"><input type="text" name="description" size="83"><font color="#FF0000">*</font></td>
</tr>
<tr>
<td width="15%" height="18" ><b><font style="FONT-FAMILY: ; FONT-SIZE: 10pt"> The Answer</font></b></td>
<td width="85%" height="18"></td>
</tr>
<tr>
<td width="15%" height="18" align=right ><font style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080"> The First:</font></td>
<td width="85%" height="18"><input type="text" name="answer1" size="50"><font color="#FF0000">*</font></td>
</tr>
<tr>
<td width="15%" height="18" align=right><font style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080"> The Second:</font></td>
<td width="85%" height="18"><input type="text" name="answer2" size="50"><font color="#FF0000">*</font></td>
</tr>
<tr>
<td width="15%" height="23" align=right><font style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080"> The Third:</font></td>
<td width="85%" height="23"><input type="text" name="answer3" size="50"></td>
</tr>
<tr>
<td width="15%" height="24" align=right><font style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080"> The Fourth:</font></td>
<td width="85%" height="24"><input type="text" name="answer4" size="50"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%">
<input type="submit" value="Submit" name="sendData" >
<input type="reset" value="Reset" name="clear"></td>
</tr>
</table>
</form>
<TABLE bgColor=#ffffff border=0 cellPadding=0 cellSpacing=0 width="100%">
<tr><jsp:include page="../footer.jsp" flush="true"/> </tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -