📄 adduserinfo.jsp
字号:
<%@ page language="java" pageEncoding="gbk"%>
<html>
<head>
<title>业主信息增加页面</title>
<script type="text/javascript">
function checkText()
{
if(form1.userName.value.length == 0)
{
alert('业主姓名不能为空!');
return false;
}
else
{
if( confirm('确认保存数据?') )
form1.submit();
else
return false;
}
}
</script>
</head>
<body bgcolor="#e8edfa" ><center>
<!-- 标题既按钮操作表格-->
<table width="100%" >
<tr>
<td height="36" colspan="2" align="left"><div align="left"><strong><font size="2">增加业主信息:</font></strong>
</div></td>
<td height="36"><img src="../../../images/queren1.gif" width="69" height="22" style="cursor:hand"
onmouseover="this.src='../../../images/queren2.gif'"
onmouseout="this.src='../../../images/queren1.gif'"
onclick="return checkText();"></td>
<td height="36"><img src="../../../images/fanhui1.gif" width="69" height="22" style="cursor:hand"
onmouseover="this.src='../../../images/fanhui2.gif'"
onmouseout="this.src='../../../images/fanhui1.gif'"
onclick="window.close();"></td>
</tr>
</table>
<form name="form1" method="post" action="../../../addUserInfo.do">
<table width="100%" style="font-size: x-small">
<tr>
<td style="width:4%"><div align="left">业主姓名</div></td>
<td style="width:6%"><input type="text" name="userName" style="width:100%"></td>
<td style="width:4%">联系电话</td>
<td style="width:6%"><input type="text" name="phone" style="width:100%"></td>
</tr>
<tr>
<td style="width:4%">身份证号</td>
<td colspan="3"><input type="text" name="cardNum" style="width:100%"></td>
</tr>
</table>
</form>
</center>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -