add_del_table.php
来自「php绿色服务器,让大家试用greenamp」· PHP 代码 · 共 90 行
PHP
90 行
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<SCRIPT LANGUAGE="javascript" SRC="addDelTable.js"></SCRIPT>
<SCRIPT>
allCount=1;
countA=1;
countB=1;
countC=1;
countD=1;
</SCRIPT>
<body>
<form method=post name=ecform>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" class="form_table">
<tr>
<td colspan="5" width="100%"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" class="form_table">
<TR>
<TH width="17%"> </TH>
<TH width="21%" class="form_label">姓名</TH>
<TH width="25%" class="form_label">职务</TH>
<TH width="32%">单位</TH>
<TH width="5%"></TH>
</TR>
<tr>
<td colspan="5"><table border="0" cellpadding="0" cellspacing="0" width="100%" align="center" class="form_table" id="commandTable">
<tr id=cT>
<TD class="form_label" width="18%"><strong> 指挥人</strong></TD>
<TD class=form_content width="20%"><input type="text" id="cMa" class="longfield" name="loginName" /> </TD>
<TD class=form_content width="25%"><input type="text" id="cMb" class="longfield" name="loginName" /> </TD>
<TD class=form_content width="35%"><input type="text"id="cMc" class="longfield" name="loginName" /></TD>
<td class="form_label" width="5%"><input type=button value='增加' width="18" height="18" onClick="newHospitalVisit('commandTable')"></td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="5"><table border="0" cellpadding="0" cellspacing="0" width="100%" align="center" class="form_table" id="technicianTable">
<tr id=tT>
<TD class="form_label" width="18%"><strong> 勘验人</strong></TD>
<TD class=form_content width="20%"><input type="text" id=tMa class="longfield" name="loginName" /> </TD>
<TD class=form_content width="25%"><input type="text" id=tMb class="longfield" name="loginName" /> </TD>
<TD class=form_content width="35%"><input type="text" id=tMc class="longfield" name="loginName" /></TD>
<td class="form_label" width="5%"><input type=button value='增加' width="18" height="18" onClick="newHospitalVisit('technicianTable')"></td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="5"><table border="0" cellpadding="0" cellspacing="0" width="100%" align="center" class="form_table" id="protectorTable">
<tr id=pT>
<TD class="form_label" width="18%"><strong> 保护人</strong></TD>
<TD class=form_content width="20%"><input type="text" id=pMa class="longfield" name="loginName" /> </TD>
<TD class=form_content width="25%"><input type="text" id=pMb class="longfield" name="loginName" /> </TD>
<TD class=form_content width="35%"><input type="text" id=pMc class="longfield" name="loginName" /></TD>
<td class="form_label" width="5%"><input type=button value='增加' width="18" height="18" onClick="newHospitalVisit('protectorTable')"></td>
</tr>
</table></td>
</tr>
<TR>
<TH> </TH>
<TH>姓名</TH>
<TH>单位</TH>
<TH>住址</TH>
<TH></TH>
</TR>
<tr>
<td colspan="5"><table border="0" cellpadding="0" cellspacing="0" width="100%" align="center" class="form_table" id="witnessTable">
<tr id=wT>
<TD class="form_label" width="18%"><strong> 见证人</strong></TD>
<TD class=form_content width="20%"><input type="text" id=wMa class="longfield" name="loginName" /> </TD>
<TD class=form_content width="25%"><input type="text" id=wMb class="longfield" name="loginName" /> </TD>
<TD class=form_content width="35%"><input type="text" id=wMc class="longfield" name="loginName" /></TD>
<td class="form_label" width="5%"><input type=button value='增加' width="18" height="18" onClick="newHospitalVisit('witnessTable')"></td>
</tr>
</table></td>
</tr>
</TABLE></td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?