📄 modimem.jsp
字号:
<div align="center"><a href="#" class="zllink"><font color="444A4F">公司名称</font></a>:<FONT color=red size=2>*</FONT></div></td>
<td colspan="2" bgcolor="#FFFFFF">
<input name="qymc" type="text" class="zl" id="qymc" size="30" value=<%=rs.getString("qymc")%>></td>
</tr>
<tr>
<td width="18%" height="35" bgcolor="#FFFFFF">
<div align="center"><a href="#" class="zllink"><font color="444A4F">公司简介</font></a>:<FONT color=red size=2>*</FONT></div></td>
<td colspan="2" bgcolor="#FFFFFF">
<textarea class=f11 rows="8" name="qyjj" cols="40"></textarea></td>
</tr>
<tr>
<td width="18%" height="80" bgcolor="#FFFFFF">
<div align="center"></div></td>
<td colspan="2" bgcolor="#FFFFFF"><div align="center">
<table width="200" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<input type="button" value="修改" onclick="check()"></td>
<td><input type="reset" name="Submit3" value="重置"></td>
</tr>
</table>
</div></td>
</tr>
</table>
</form></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td height="25"> </td>
</tr>
</table>
</div></td>
</tr>
</table></td>
</tr>
<tr>
<td height="40"> </td>
</tr>
</table>
</div></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</div>
</TD></TR></TBODY></TABLE><IMG
height=10 src="images/bottom.gif" width=778><BR>
<%@ include file="end.jsp"%>
</BODY></HTML>
<script LANGUAGE="JavaScript">
function check()
{
if (document.Form1.question.value == "")
{
alert("请输入密码提示问题!");
document.Form1.question.focus();
return (false);
}
if (document.Form1.answer.value == "")
{
alert("请输入密码提示答案!");
document.Form1.answer.focus();
return (false);
}
if (document.Form1.name.value == "")
{
alert("请输入您的姓名!");
document.Form1.name.focus();
return (false);
}
if (document.Form1.myname.value == "")
{
alert("请填写您的名称!");
document.Form1.myname.focus();
return (false);
}
if (document.Form1.address.value == "")
{
alert("请输入您的联系地址!");
document.Form1.address.focus();
return (false);
}
if (document.Form1.post.value == "")
{
alert("请输入邮政编码!");
document.Form1.post.focus();
return (false);
}
if (document.Form1.tel.value == "")
{
alert("请输入您的联系电话!");
document.Form1.tel.focus();
return (false);
}
if (document.Form1.email.value == "")
{
alert("请输入您的电子邮件地址!");
document.Form1.email.focus();
document.Form1.email.select();
return (false);
}
var filter=/^\s*([A-Za-z0-9_-]+(\.\w+)*@(\w+\.)+\w{2,3})\s*$/;
if (!filter.test(document.Form1.email.value)) {
alert("邮件地址不正确,请重新填写!");
document.Form1.email.focus();
document.Form1.email.select();
return (false);
}
if (document.Form1.qymc.value == "")
{
alert("请输入您公司的名称!");
document.Form1.qymc.focus();
return (false);
}
if (document.Form1.qyjj.value == "")
{
alert("请输入公司简介!");
document.Form1.qyjj.focus();
return (false);
}
document.Form1.submit()
}
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -